virtio_net: make all RX paths handle erors consistently
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 28 Nov 2013 11:30:59 +0000 (13:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Dec 2013 01:27:16 +0000 (20:27 -0500)
commitf121159d72091f25afb22007c833e60a6845e912
treed9570571764a2a1f74e0af9619464228e2af77c6
parent8fc3b9e9a229778e5af3aa453c44f1a3857ba769
virtio_net: make all RX paths handle erors consistently

receive mergeable now handles errors internally.
Do same for big and small packet paths, otherwise
the logic is too hard to follow.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c