diff options
| author | Yuya Kusakabe <[email protected]> | 2020-02-25 03:32:11 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-02-25 21:50:55 +0000 |
| commit | f1d4884d6871ded0592604b0e72e4a7bd292eab9 (patch) | |
| tree | 8dc007db074025902c81b2d0a43e5df0c9fd0fb1 /scripts/bpf_helpers_doc.py | |
| parent | selftests/bpf: Print backtrace on SIGSEGV in test_progs (diff) | |
| download | kernel-f1d4884d6871ded0592604b0e72e4a7bd292eab9.tar.gz kernel-f1d4884d6871ded0592604b0e72e4a7bd292eab9.zip | |
virtio_net: Keep vnet header zeroed if XDP is loaded for small buffer
We do not want to care about the vnet header in receive_small() if XDP
is loaded, since we can not know whether or not the packet is modified
by XDP.
Fixes: f6b10209b90d ("virtio-net: switch to use build_skb() for small buffer")
Signed-off-by: Yuya Kusakabe <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
