Files
twx-linux/net/ipv4
Martin KaFai Lau 3997465153 bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
commit 257a525fe2 upstream.

When the commit a6024562ff ("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: a6024562ff ("udp: Add GRO functions to UDP socket")
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-03 13:16:02 +02:00
..
2019-03-13 14:03:09 -07:00
2019-05-31 06:47:14 -07:00
2019-04-17 08:37:47 +02:00
2019-06-17 19:52:44 +02:00
2019-06-17 19:52:43 +02:00