mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Commit 60d9f461a2 ("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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>