Re: [PATCH] mac80211: fix crash on mesh local link ID generation with VIFs

2015-11-03 Thread Johannes Berg
On Sat, 2015-10-24 at 21:25 +0200, Matthias Schiffer wrote: > llid_in_use needs to be limited to stations of the same VIF, > otherwise it > will cause a NULL deref as the sta_info of non-mesh-VIFs don't have > sta->mesh set. > Applied, thanks. johannes -- To unsubscribe from this list: send the

Re: [PATCH] mac80211: fix crash on mesh local link ID generation with VIFs

2015-10-24 Thread Matthias Schiffer
On 10/24/2015 09:25 PM, Matthias Schiffer wrote: > llid_in_use needs to be limited to stations of the same VIF, otherwise it > will cause a NULL deref as the sta_info of non-mesh-VIFs don't have > sta->mesh set. > > Steps to reproduce: > >modprobe mac80211_hwsim channels=2 >iw phy phy0 in

[PATCH] mac80211: fix crash on mesh local link ID generation with VIFs

2015-10-24 Thread Matthias Schiffer
llid_in_use needs to be limited to stations of the same VIF, otherwise it will cause a NULL deref as the sta_info of non-mesh-VIFs don't have sta->mesh set. Steps to reproduce: modprobe mac80211_hwsim channels=2 iw phy phy0 interface add ibss0 type ibss iw phy phy0 interface add mesh0 ty