summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/can/slcan.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/can/slcan.c')
-rw-r--r--kernel/drivers/net/can/slcan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/net/can/slcan.c b/kernel/drivers/net/can/slcan.c
index f64f5290d..a23a7af8e 100644
--- a/kernel/drivers/net/can/slcan.c
+++ b/kernel/drivers/net/can/slcan.c
@@ -207,7 +207,6 @@ static void slc_bump(struct slcan *sl)
if (!skb)
return;
- __net_timestamp(skb);
skb->dev = sl->dev;
skb->protocol = htons(ETH_P_CAN);
skb->pkt_type = PACKET_BROADCAST;
@@ -215,6 +214,7 @@ static void slc_bump(struct slcan *sl)
can_skb_reserve(skb);
can_skb_prv(skb)->ifindex = sl->dev->ifindex;
+ can_skb_prv(skb)->skbcnt = 0;
memcpy(skb_put(skb, sizeof(struct can_frame)),
&cf, sizeof(struct can_frame));