openwrtv4/package
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
..
base-files base-files: create /var/tmp on boot 2015-10-19 10:09:46 +00:00
boot uboot-lantiq: Add SoC version 1.2 support for Arcadyan VGV7510KW22 2015-11-02 10:18:24 +00:00
devel package/devel/perf: fix build for kernel 4.1 2015-11-02 10:16:28 +00:00
firmware ath10k-firmware: add qca99x0 firmware 2015-10-30 22:01:22 +00:00
kernel mac80211: fix crash when using mesh (11s) VIF together with another VIF 2015-11-02 18:26:15 +00:00
libs libpcap: USB support by default if usbmon is enabled 2015-10-26 09:02:03 +00:00
network hostapd: add default value to eapol_version (#20641) 2015-11-02 18:12:54 +00:00
system fstools: update to latest git HEAD 2015-11-02 10:18:29 +00:00
utils busybox: enable find mtime support by default 2015-11-02 18:12:59 +00:00
Makefile build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00