summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2018-11-22 14:36:31 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-05 19:31:59 +0100
commitb06510bf095b11aeb9ec8d54e1150c610e71c8f8 (patch)
tree6086275f8e61a270dc112560e023fc4c36935306 /include
parent1af400beef4a51136809a596f454d416065ae9e3 (diff)
virtio-net: fail XDP set if guest csum is negotiated
[ Upstream commit 18ba58e1c234ea1a2d9835ac8c1735d965ce4640 ] We don't support partial csumed packet since its metadata will be lost or incorrect during XDP processing. So fail the XDP set if guest_csum feature is negotiated. Fixes: f600b6905015 ("virtio_net: Add XDP support") Reported-by: Jesper Dangaard Brouer <brouer@redhat.com> Cc: Jesper Dangaard Brouer <brouer@redhat.com> Cc: Pavel Popa <pashinho1990@gmail.com> Cc: David Ahern <dsahern@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions