]> Git Repo - linux.git/commit
can: add missing initialisations in CAN related skbuffs
authorOliver Hartkopp <[email protected]>
Mon, 23 Feb 2015 19:37:54 +0000 (20:37 +0100)
committerMarc Kleine-Budde <[email protected]>
Mon, 9 Mar 2015 09:22:24 +0000 (10:22 +0100)
commit969439016d2cf61fef53a973d7e6d2061c3793b1
tree8320e446b2b0f31fd6ca77351ba6ba7b2f05d587
parentc247f0534cc5a5a547a343903f42295a471844e2
can: add missing initialisations in CAN related skbuffs

When accessing CAN network interfaces with AF_PACKET sockets e.g. by dhclient
this can lead to a skb_under_panic due to missing skb initialisations.

Add the missing initialisations at the CAN skbuff creation times on driver
level (rx path) and in the network layer (tx path).

Reported-by: Austin Schuh <[email protected]>
Reported-by: Daniel Steer <[email protected]>
Signed-off-by: Oliver Hartkopp <[email protected]>
Cc: linux-stable <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
drivers/net/can/dev.c
net/can/af_can.c
This page took 0.049704 seconds and 4 git commands to generate.