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:31:37 +0000 (15:31 -0800)
commitaa016e2d4009621c8d48fecb20ef46a005c75aa8
tree2c4c639740ec1e4b7d7d39abdc72f6ef26ddb328
parent20d93869b19d03748b3f86d169ad830e2fbb7923
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: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/virtio_net.c