summaryrefslogtreecommitdiff
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-05 19:37:05 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2012-07-06 06:33:04 (GMT)
commit135792ec246ddd0b2738dd95447297ea0b91943b (patch)
tree1fb1e5ac0b2e5f2cc5f39dd98a1695b68839e9ea /net/mac80211/cfg.c
parent95ddc1fc4519ed48ddc7d622bd5c84dff3eebb0a (diff)
downloadlinux-135792ec246ddd0b2738dd95447297ea0b91943b.tar.xz
mac80211: fix debugfs default key links
Due to the way the default key links are created, it happens that a link is left dangling: * both unicast/multicast links are created * unicast link is destroyed, and the links are updated * during this update, adding the multicast link again fails because it is present, destroying the debugfs pointer * removing the multicast link won't work as the pointer has been destroyed Fix this by always removing the links and then re-creating them if needed. Reported-by: Marek Lindner <lindner_marek@yahoo.de> Reported-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions