]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ieee80211: Fix kernel panic when QoS is enabled
authorZhu Yi <yi.zhu@intel.com>
Mon, 13 Nov 2006 03:32:50 +0000 (11:32 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Nov 2006 00:31:48 +0000 (19:31 -0500)
commitefa53ebe0d2f50bf342eb1976824f59bba9941eb
tree41b68cfbf14a5540948df806c2a60999627a669c
parent0579e303553655245e8a6616bd8b4428b07d63a2
[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>
net/ieee80211/ieee80211_tx.c