diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-01 05:59:10 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-01 05:59:10 +0400 |
commit | c100c8f4c3c6f2a407bdbaaad2c4f1062e6a473a (patch) | |
tree | bc4075ba65a4187ca46642589f5299cde399ae22 /scripts | |
parent | c37947459172a02691ccd48cb967e8b605d38c56 (diff) | |
download | linux-c100c8f4c3c6f2a407bdbaaad2c4f1062e6a473a.tar.xz |
appletalk: Fix OOPS in atalk_release().
Commit 60d9f461a20ba59219fdcdc30cbf8e3a4ad3f625 ("appletalk: remove
the BKL") added a dereference of "sk" before checking for NULL in
atalk_release().
Guard the code block completely, rather than partially, with the
NULL check.
Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions