]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mac80211: add missing sanity checks for action frames
authorFelix Fietkau <nbd@openwrt.org>
Thu, 7 Jan 2010 19:23:53 +0000 (20:23 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jan 2010 20:49:28 +0000 (15:49 -0500)
commitd79074488083ec0d7ecd15352192dc1631f25643
tree3ba73d537ca84153bc6412bf5b9fdcdf1e3e56b9
parent045cfb71a3901005bf6dcedae98cecb3360a0bfc
mac80211: add missing sanity checks for action frames

Various missing sanity checks caused rejected action frames to be
interpreted as channel switch announcements, which can cause a client
mode interface to switch away from its operating channel, thereby losing
connectivity. This patch ensures that only spectrum management action
frames are processed by the CSA handling function and prevents rejected
action frames from getting processed by the MLME code.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c
net/mac80211/rx.c