Thread (2 messages) 2 messages, 2 authors, 2011-03-28

Re: [PATCHv2] cfg80211: fix BSS double-unlinking (continued)

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2011-03-28 12:14:28

On Mon, 2011-03-28 at 14:32 +0300, juuso.oikarinen@nokia.com wrote:
From: Juuso Oikarinen <redacted>

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 <redacted>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>

Thanks.

johannes

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help