diff options
Diffstat (limited to 'kernel/net/can/bcm.c')
-rw-r--r-- | kernel/net/can/bcm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/net/can/bcm.c b/kernel/net/can/bcm.c index b52345358..a1ba6875c 100644 --- a/kernel/net/can/bcm.c +++ b/kernel/net/can/bcm.c @@ -261,6 +261,7 @@ static void bcm_can_tx(struct bcm_op *op) can_skb_reserve(skb); can_skb_prv(skb)->ifindex = dev->ifindex; + can_skb_prv(skb)->skbcnt = 0; memcpy(skb_put(skb, CFSIZ), cf, CFSIZ); @@ -1217,6 +1218,7 @@ static int bcm_tx_send(struct msghdr *msg, int ifindex, struct sock *sk) } can_skb_prv(skb)->ifindex = dev->ifindex; + can_skb_prv(skb)->skbcnt = 0; skb->dev = dev; can_skb_set_owner(skb, sk); err = can_send(skb, 1); /* send with loopback */ |