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: NMichael Dalton <mwdalton@google.com> Acked-by: NJason Wang <jasowang@redhat.com> Acked-by: NAndrew Vagin <avagin@openvz.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录