[PATCH] nl80211: Fix RTM event handling for dynamic interfaces

Jouni Malinen j at w1.fi
Tue Mar 4 16:41:57 EST 2014


On Mon, Mar 03, 2014 at 02:53:19PM +0200, Ilan Peer wrote:
> When an interface is disabled through rtm event, wpa_supplicant's
> EVENT_INTERFACE_DISABLED is generated, which in turn, may
> completely destroy wpa_driver_nl80211_data struct (drv). This
> scenario happens now when P2P GO interface is disabled. Since this
> struct may be used later in this function it causes segmentation fault.
> 
> Fix it by trying to find drv again in the interface list after
> wpa_supplicant's event handling.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list