datapath: Record upcall errors as lost packets.
authorJesse Gross <jesse@nicira.com>
Mon, 28 Feb 2011 22:26:39 +0000 (14:26 -0800)
committerJesse Gross <jesse@nicira.com>
Thu, 3 Mar 2011 20:12:53 +0000 (12:12 -0800)
commitd76195db5a0780626e2742b184b86aeae60972bc
tree757441e017813c83dd57d3332017d0726680303f
parent46aef12ee5fcb028d20bac654c8a08cf993cfac8
datapath: Record upcall errors as lost packets.

It's possible to encounter a few different errors when preparing
to send a packet to userspace in queue_control_packet().  This
ensures that if we encounter one of these problems, the issue is
properly recorded as a lost packet.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/datapath.c