On 06/19/2013 06:53 AM, Johannes Berg wrote:
From: Johannes Berg <johannes.berg@xxxxxxxxx> This fixes the potential issue that the BSS struct that we use and later assign to wdev->current_bss is removed from the scan list while associating. Also warn when we don't have a BSS struct in connect_result unless it's from a driver that only has the connect() API.
I ran these two patches, plus my memory debugging patch on top of wireless-testing (in relatively light testing). It appears to fix the leaks I was seeing. Just to make sure I am not missing something: mac80211 should never take an additional reference on the bss related to auth_data now? Thanks, Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com -- 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