From: Oliver Hartkopp Date: Wed, 20 Apr 2011 01:57:15 +0000 (+0000) Subject: can: add missing socket check in can/raw release X-Git-Tag: v2.6.39-rc6~7^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10022a6c66e199d8f61d9044543f38785713cbbd;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed