summaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-11-13 11:32:50 +0800
committerJohn W. Linville <linville@tuxdriver.com>2006-11-14 19:31:48 -0500
commitefa53ebe0d2f50bf342eb1976824f59bba9941eb (patch)
tree41b68cfbf14a5540948df806c2a60999627a669c /security/commoncap.c
parent0579e303553655245e8a6616bd8b4428b07d63a2 (diff)
downloadlinux-efa53ebe0d2f50bf342eb1976824f59bba9941eb.tar.gz
linux-efa53ebe0d2f50bf342eb1976824f59bba9941eb.tar.bz2
linux-efa53ebe0d2f50bf342eb1976824f59bba9941eb.zip
[PATCH] ieee80211: Fix kernel panic when QoS is enabled
The 802.11 header length is affected by the wireless mode (WDS or not) and type (QoS or not). We should use the variable hdr_len instead of the hard coded IEEE80211_3ADDR_LEN, otherwise we may touch invalid memory. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions