datapath: Use consume_skb() on non-errors.
authorJesse Gross <jesse@nicira.com>
Thu, 16 Jun 2011 22:32:26 +0000 (15:32 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 17 Jun 2011 00:03:29 +0000 (17:03 -0700)
commit5b95ab0edf18e44d6624c8aa98b658df2fbb48f2
tree8aa7b1199df43e57e91a5025bf6815ea3b12fc74
parent82d6256ac9f800f8cbe06cf2be41a7b76ab8b322
datapath: Use consume_skb() on non-errors.

It's possible to trace kfree_skb() call sites to find out where
packets are getting dropped.  Situations where kfree_skb() does
not actually indicate an error adds additional noise, so use
consume_skb() instead to avoid tracing non-errors.

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