Files
linux/net/can
Oliver Hartkopp 5d93d26831 can: add missing socket check in can/raw release
commit 10022a6c66 upstream.

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>
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:42 -07:00
..
2008-01-28 14:54:10 -08:00
2009-08-29 00:19:38 -07:00