]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix tx->skb NULL pointer dereference
authorYoni Divinsky <yoni.divinsky@ti.com>
Mon, 16 Jan 2012 13:18:59 +0000 (15:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Jan 2012 20:01:16 +0000 (15:01 -0500)
commitf722412f58381442145b8d03be605462e8c09978
treeff6484ac0f843dc48c24db2604bfbef1424967e0
parent25c7bcaa05dcbbc8a453262c1efe663a147a842d
mac80211: fix tx->skb NULL pointer dereference

In function ieee80211_tx_h_encrypt the var info was
initialized from tx->skb, since the fucntion
is called after the function ieee80211_tx_h_fragment
tx->skb is not valid anymore.

Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c
net/mac80211/wpa.c
net/mac80211/wpa.h