From: Johannes Berg Date: Thu, 5 Jul 2012 19:37:05 +0000 (+0200) Subject: mac80211: fix debugfs default key links X-Git-Tag: v3.6-rc1~125^2~57^2~208^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=135792ec246ddd0b2738dd95447297ea0b91943b;p=pandora-kernel.git 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 Reported-by: Antonio Quartulli Signed-off-by: Johannes Berg --- Reading git-diff-tree failed