diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2011-03-28 13:32:32 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-28 21:42:02 +0200 |
commit | 2b78ac9bfc7483ba4bda9ad3d10dd4afcf88337c (patch) | |
tree | da48e2e10050b2e535b908119bf60fe86b17b1e4 /.mailmap | |
parent | cfg80211:: fix possible NULL pointer dereference (diff) | |
download | linux-2b78ac9bfc7483ba4bda9ad3d10dd4afcf88337c.tar.xz linux-2b78ac9bfc7483ba4bda9ad3d10dd4afcf88337c.zip |
cfg80211: fix BSS double-unlinking (continued)
This patch adds to the fix "fix BSS double-unlinking"
(commit 3207390a8b58bfc1335750f91cf6783c48ca19ca) by Johannes Berg.
It turns out, that the double-unlinking scenario can also occur if expired
BSS elements are removed whilst an interface is performing association.
To work around that, replace list_del with list_del_init also in the
"cfg80211_bss_expire" function, so that the check for whether the BSS still is
in the list works correctly in cfg80211_unlink_bss.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions