]> 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)
commitb962220a6dc6ae7d4bacc738bc0b9019313a03ef
treeff6484ac0f843dc48c24db2604bfbef1424967e0
parent4d86297b6549507075e59a8288885f50b933c412
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