diff options
| author | Jeongjun Park <[email protected]> | 2024-07-25 21:40:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-07-29 09:55:15 +0000 |
| commit | 9da49aa80d686582bc3a027112a30484c9be6b6e (patch) | |
| tree | 6ac72bf26a011a6d42b1fbba48233bb86bba59d3 /net/ipv4/tcp_input.c | |
| parent | Merge tag 'for-net-2024-07-26' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
| download | kernel-9da49aa80d686582bc3a027112a30484c9be6b6e.tar.gz kernel-9da49aa80d686582bc3a027112a30484c9be6b6e.zip | |
tun: Add missing bpf_net_ctx_clear() in do_xdp_generic()
There are cases where do_xdp_generic returns bpf_net_context without
clearing it. This causes various memory corruptions, so the missing
bpf_net_ctx_clear must be added.
Reported-by: [email protected]
Fixes: fecef4cd42c6 ("tun: Assign missing bpf_net_context.")
Signed-off-by: Jeongjun Park <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Reported-by: [email protected]
Reported-by: [email protected]
Reported-by: [email protected]
Reported-by: [email protected]
Reported-by: [email protected]
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
