OpenCloudOS-Kernel/net/can
Oliver Hartkopp 10022a6c66 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>
2011-04-20 12:37:59 -07:00
..
Kconfig [CAN]: Add virtual CAN netdevice driver 2008-01-28 14:54:12 -08:00
Makefile Net: can: Makefile: Remove deprecated kbuild goal definitions 2010-11-22 08:16:09 -08:00
af_can.c can: make struct proto const 2011-03-27 23:34:59 -07:00
af_can.h can: Speed up CAN frame receiption by using ml_priv 2010-01-03 21:31:03 -08:00
bcm.c can: Add missing socket check in can/bcm release. 2011-04-19 20:36:59 -07:00
proc.c can: Speed up CAN frame receiption by using ml_priv 2010-01-03 21:31:03 -08:00
raw.c can: add missing socket check in can/raw release 2011-04-20 12:37:59 -07:00