aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorJeongjun Park <[email protected]>2024-07-25 21:40:49 +0000
committerDavid S. Miller <[email protected]>2024-07-29 09:55:15 +0000
commit9da49aa80d686582bc3a027112a30484c9be6b6e (patch)
tree6ac72bf26a011a6d42b1fbba48233bb86bba59d3 /net/ipv4/tcp_input.c
parentMerge tag 'for-net-2024-07-26' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-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