Skip to content
Commit dd543797 authored by Jason Wang's avatar Jason Wang Committed by David S. Miller
Browse files

virtio-net: correctly set xdp_xmit for mergeable buffer



We should set xdp_xmit only when xdp_do_redirect() succeed.

Cc: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 411d788a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment