Openwrt/package/kernel
Felix Fietkau 7224c5d249 mac80211: fix crash when using mesh (11s) VIF together with another VIF
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 type mp
   iw phy phy1 interface add ibss1 type ibss
   iw phy phy1 interface add mesh1 type mp
   ip link set ibss0 up
   ip link set mesh0 up
   ip link set ibss1 up
   ip link set mesh1 up
   iw dev ibss0 ibss join foo 2412
   iw dev ibss1 ibss join foo 2412
   # Ensure that ibss0 and ibss1 are actually associated; I often need to
   # leave and join the cell on ibss1 a second time.
   iw dev mesh0 mesh join bar
   iw dev mesh1 mesh join bar # crash

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47364
2015-11-02 18:26:15 +00:00
..
acx-mac80211
ar7-atm cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
avila-wdt
brcm2708-gpu-fw brcm2708-gpu-fw: update to latest version 2015-10-26 09:00:47 +00:00
broadcom-wl
button-hotplug
ep80579-drivers
gpio-button-hotplug
hostap-driver cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
i2c-gpio-custom
lantiq cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
linux modules: crypto-rng changes additions for kernel 4.3 2015-10-26 11:56:16 +00:00
mac80211 mac80211: fix crash when using mesh (11s) VIF together with another VIF 2015-11-02 18:26:15 +00:00
mmc_over_gpio
mt76 mac80211: update to wireless-testing 2015-10-26 2015-10-30 15:17:56 +00:00
mwlwifi mac80211: update to wireless-testing 2015-10-26 2015-10-30 15:17:56 +00:00
om-watchdog
rotary-gpio-custom
rtc-rv5c386a
spi-gpio-custom
trelay
w1-gpio-custom
wrt55agv2-spidevs