aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2019-05-31 22:29:13 +0000
committerAlexei Starovoitov <[email protected]>2019-06-03 20:38:48 +0000
commit257a525fe2e49584842c504a92c27097407f778f (patch)
tree294de439bd74c0d6b281b47e61ed2e164b6fab1c /tools/bpf/bpftool/prog.c
parentbpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err (diff)
downloadkernel-257a525fe2e49584842c504a92c27097407f778f.tar.gz
kernel-257a525fe2e49584842c504a92c27097407f778f.zip
bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
When the commit a6024562ffd7 ("udp: Add GRO functions to UDP socket") added udp[46]_lib_lookup_skb to the udp_gro code path, it broke the reuseport_select_sock() assumption that skb->data is pointing to the transport header. This patch follows an earlier __udp6_lib_err() fix by passing a NULL skb to avoid calling the reuseport's bpf_prog. Fixes: a6024562ffd7 ("udp: Add GRO functions to UDP socket") Cc: Tom Herbert <[email protected]> Signed-off-by: Martin KaFai Lau <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions