aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/event.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2009-05-11 20:47:15 -0400
committerJames Morris <jmorris@namei.org>2009-05-11 21:06:11 -0400
commitd93e4c940f51ae06b59c14523c4d55947f9597d6 (patch)
tree2dfe72da55eab4bd12e059f7d9de6f9c37eedbbf /net/mac80211/event.c
parent1a62e958fa4aaeeb752311b4f5e16b2a86737b23 (diff)
securityfs: securityfs_remove should handle IS_ERR pointers
Both of the securityfs users (TPM and IMA) can call securityfs_remove and pass an IS_ERR(dentry) in their failure paths. This patch handles those rather than panicing when it tries to start deferencing some negative memory. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/mac80211/event.c')
0 files changed, 0 insertions, 0 deletions