diff options
author | 2016-12-23 22:37:28 +0800 | |
---|---|---|
committer | 2016-12-23 13:48:54 -0500 | |
commit | b00f70b0dacb3d2e009afce860ebc90219072f5c (patch) | |
tree | 75329d0261d2d61d2e391cb4317588503c6f8256 /net/lapb/lapb_timer.c | |
parent | virtio-net: correctly handle XDP_PASS for linearized packets (diff) | |
download | wireguard-linux-b00f70b0dacb3d2e009afce860ebc90219072f5c.tar.xz wireguard-linux-b00f70b0dacb3d2e009afce860ebc90219072f5c.zip |
virtio-net: unbreak csumed packets for XDP_PASS
We drop csumed packet when do XDP for packets. This breaks
XDP_PASS when GUEST_CSUM is supported. Fix this by allowing csum flag
to be set. With this patch, simple TCP works for XDP_PASS.
Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions