aboutsummaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
Diffstat (limited to 'net/can')
-rw-r--r--net/can/af_can.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/can/af_can.c b/net/can/af_can.c
index f9c027be78b2..ef1c43a2ed56 100644
--- a/net/can/af_can.c
+++ b/net/can/af_can.c
@@ -686,11 +686,11 @@ static int can_rcv(struct sk_buff *skb, struct net_device *dev,
686 can_stats.matches_delta++; 686 can_stats.matches_delta++;
687 } 687 }
688 688
689 return 0; 689 return NET_RX_SUCCESS;
690 690
691drop: 691drop:
692 kfree_skb(skb); 692 kfree_skb(skb);
693 return 0; 693 return NET_RX_DROP;
694} 694}
695 695
696/* 696/*