diff options
Diffstat (limited to 'net/can/af_can.c')
| -rw-r--r-- | net/can/af_can.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/net/can/af_can.c b/net/can/af_can.c index 547bafc79e2..10f0528c3bf 100644 --- a/net/can/af_can.c +++ b/net/can/af_can.c @@ -674,8 +674,8 @@ static int can_rcv(struct sk_buff *skb, struct net_device *dev,  	rcu_read_unlock(); -	/* free the skbuff allocated by the netdevice driver */ -	kfree_skb(skb); +	/* consume the skbuff allocated by the netdevice driver */ +	consume_skb(skb);  	if (matches > 0) {  		can_stats.matches++;  | 
