summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorSong Liu2017-12-15 02:17:56 +0100
committerDaniel Borkmann2017-12-15 14:34:36 +0100
commit2d17d8d79e77ff3f1b35b87522fc72fa562260ff (patch)
treed21c62dc68e76e58c452fd2a04a6a0883227742e /arch/riscv
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff)
downloadkernel-qcow2-linux-2d17d8d79e77ff3f1b35b87522fc72fa562260ff.tar.gz
kernel-qcow2-linux-2d17d8d79e77ff3f1b35b87522fc72fa562260ff.tar.xz
kernel-qcow2-linux-2d17d8d79e77ff3f1b35b87522fc72fa562260ff.zip
xdp: linearize skb in netif_receive_generic_xdp()
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 <songliubraving@fb.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions