Skip to content
Commit 98bfd23c authored by Michael Dalton's avatar Michael Dalton Committed by David S. Miller
Browse files

virtio-net: free bufs correctly on invalid packet length



When a packet with invalid length arrives, ensure that the packet
is freed correctly if mergeable packet buffers and big packets
(GUEST_TSO4) are both enabled.

Signed-off-by: default avatarMichael Dalton <mwdalton@google.com>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Acked-by: default avatarAndrew Vagin <avagin@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a328f3a0
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