virtio-net: make all RX paths handle errors consistently
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Dec 2013 13:32:51 +0000 (15:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2014 23:28:49 +0000 (15:28 -0800)
commit59d2a52eb56dcdaec3c81c456bf408cbab13bde6
tree633dd8dc51e99badbd2c753ddf77a8f4fbbd7838
parente32904ec6251df8e552074c9eb068606955d894c
virtio-net: make all RX paths handle errors consistently

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

Cc: Jason Wang <jasowang@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Acked-by: Michael Dalton <mwdalton@google.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit f121159d72091f25afb22007c833e60a6845e912)
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/virtio_net.c