Searched hist:"10022 a6c66e199d8f61d9044543f38785713cbbd" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/can/ |
H A D | raw.c | diff 10022a6c66e199d8f61d9044543f38785713cbbd Tue Apr 19 20:57:15 CDT 2011 Oliver Hartkopp <socketcan@hartkopp.net> can: add missing socket check in can/raw release
v2: added space after 'if' according code style.
We can get here with a NULL socket argument passed from userspace, so we need to handle it accordingly.
Thanks to Dave Jones pointing at this issue in net/can/bcm.c
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: David S. Miller <davem@davemloft.net>
|