aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2013-03-18 14:49:07 +0000
committerJ. Bruce Fields <[email protected]>2013-03-18 18:58:32 +0000
commita517b608fa3d9b65930ef53ffe4a2f9800e10f7d (patch)
tree568ca9715795381044455f55ca1c09fca20585fd /net/unix/af_unix.c
parentLinux 3.9-rc3 (diff)
downloadkernel-a517b608fa3d9b65930ef53ffe4a2f9800e10f7d.tar.gz
kernel-a517b608fa3d9b65930ef53ffe4a2f9800e10f7d.zip
nfsd: only unhash DRC entries that are in the hashtable
It's not safe to call hlist_del() on a newly initialized hlist_node. That leads to a NULL pointer dereference. Only do that if the entry is hashed. Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions