Files
linux/net
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
..
2009-05-25 01:53:53 -07:00
2011-04-14 16:53:41 -07:00
2009-09-26 20:16:15 -07:00
2011-03-07 15:17:57 -08:00
2011-05-09 15:55:33 -07:00
2009-05-25 01:53:53 -07:00
2011-05-09 15:54:51 -07:00
2009-09-02 01:03:53 -07:00
2010-08-26 16:41:55 -07:00
2011-02-17 15:37:24 -08:00
2011-05-09 15:55:36 -07:00
2009-07-12 12:22:34 -07:00
2011-03-02 09:47:07 -05:00
2009-09-02 01:03:53 -07:00