can: use correct NET_RX_ return values
authorOliver Hartkopp <oliver@hartkopp.net>
Sat, 29 Aug 2009 06:45:09 +0000 (06:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2009 05:13:18 +0000 (22:13 -0700)
commit6ca8b990e07914a87fd1f6dfc5507f5e1c4572e2
treec2a41b12a0eb57399784dfa42d331f5bec09e6ab
parent5de3fcab91b0e1809eec030355d15801daf25083
can: use correct NET_RX_ return values

Dropped skb's should be documented by an appropriate return value.
Use the correct NET_RX_DROP and NET_RX_SUCCESS values for that reason.

Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/af_can.c