summaryrefslogtreecommitdiffstats
path: root/lib/cmdline.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-03-18 10:49:07 -0400
committerJ. Bruce Fields <bfields@redhat.com>2013-03-18 14:58:32 -0400
commita517b608fa3d9b65930ef53ffe4a2f9800e10f7d (patch)
tree568ca9715795381044455f55ca1c09fca20585fd /lib/cmdline.c
parenta937536b868b8369b98967929045f1df54234323 (diff)
downloadlinux-a517b608fa3d9b65930ef53ffe4a2f9800e10f7d.tar.bz2
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 <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions