diff options
| author | Jeff Layton <[email protected]> | 2013-03-18 14:49:07 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2013-03-18 18:58:32 +0000 |
| commit | a517b608fa3d9b65930ef53ffe4a2f9800e10f7d (patch) | |
| tree | 568ca9715795381044455f55ca1c09fca20585fd /net/unix/af_unix.c | |
| parent | Linux 3.9-rc3 (diff) | |
| download | kernel-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
