openwrtv3/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 acx-mac80211: update git url 2015-08-03 20:49:37 +00:00
ar7-atm cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
avila-wdt packages: clean up the package folder 2013-06-21 16:54:37 +00:00
brcm2708-gpu-fw brcm2708-gpu-fw: update to latest version 2015-10-26 09:00:47 +00:00
broadcom-wl package: replace ifconfig-usage with ip 2015-09-08 17:44:24 +00:00
button-hotplug button-hotplug: remove #ifdef CONFIG_HOTPLUG, it is gone in newer kernels 2014-05-23 22:13:13 +00:00
ep80579-drivers packages: clean up the package folder 2013-06-21 16:54:37 +00:00
gpio-button-hotplug gpio-button-hotplug: handle EPROBE_DEFER and other errors 2015-07-26 15:52:17 +00:00
hostap-driver cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
i2c-gpio-custom package/i2c-gpio-custom: fix checkpatch errors in module source 2013-09-02 08:45:30 +00:00
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 kernel: make most modules use AutoProbe 2013-09-17 21:45:17 +00:00
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 package/om-watchdog: add OpenMesh MR1750 support 2015-09-14 20:11:35 +00:00
rotary-gpio-custom package/rotary-gpio-custom: fix checkpatch errors module source 2013-09-02 08:45:32 +00:00
rtc-rv5c386a packages: clean up the package folder 2013-06-21 16:54:37 +00:00
spi-gpio-custom package/kernel: add spi-gpio-custom module 2013-09-02 08:45:29 +00:00
trelay package: replace ifconfig-usage with ip 2015-09-08 17:44:24 +00:00
w1-gpio-custom w1-gpio-custom: Fix uninitialised variable causing 1-wire to not bind to GPIO 2015-05-23 15:29:20 +00:00
wrt55agv2-spidevs Rename 'atheros' target to 'ath25' 2015-03-13 03:02:28 +00:00