diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:26:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:26:15 +0000 |
commit | 946c7256b6eb19867afed297752acddcb1d222ac (patch) | |
tree | 7c4fceb2dfa9546056d87b2fa19d74dc60bdf679 /include/package-defaults.mk | |
parent | f92acf9810cb10decdae02b3e22dee6aae6854d6 (diff) | |
download | master-187ad058-946c7256b6eb19867afed297752acddcb1d222ac.tar.gz master-187ad058-946c7256b6eb19867afed297752acddcb1d222ac.tar.bz2 master-187ad058-946c7256b6eb19867afed297752acddcb1d222ac.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47364 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/package-defaults.mk')
0 files changed, 0 insertions, 0 deletions