On 12/15/2017 02:17 AM, Song Liu wrote: > In netif_receive_generic_xdp(), it is necessary to linearize all > nonlinear skb. However, in current implementation, skb with > troom <= 0 are not linearized. This patch fixes this by calling > skb_linearize() for all nonlinear skb. > > Fixes: de8f3a83b0a0 ("bpf: add meta pointer for direct access") > Signed-off-by: Song Liu <songliubrav...@fb.com> > Acked-by: Martin KaFai Lau <ka...@fb.com> > Cc: Daniel Borkmann <dan...@iogearbox.net> > Cc: Alexei Starovoitov <a...@kernel.org>
Agree, applied to bpf, thanks Song!