On Wed, May 21, 2008 at 01:47:04PM +0300, Tomas Winkler wrote: > On Tue, May 20, 2008 at 3:54 PM, Tomas Winkler <tomasw@xxxxxxxxx> wrote: > > I found one ieee80211_rx_bss_{get,put} imbalance in > > ieee80211_sta_join_ibss function > > That may cause this problem yet it doesn't look like this is the case. > > ieee80211_sta_join_ibss > > calls ieee80211_rx_bss_put on 'bss' that it receives as an argument > > The patch below introduced _get/_put imbalance. ieee80211_rx_bss_info > _put bss back at the end. Other callers of the ieee80211_sta_join_ibss > function don't use put. > I will post a patch that takes out the _put out of > ieee80211_rx_bss_info, I think it's more readable. Since you are doing _get and _add in ieee80211_rx_bss_info, it makes sense to me to do _put at the end of it. Perhaps we should remove the _put from the end of ieee80211_sta_join_ibss and change it's callers instead? John -- John W. Linville linville@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html