commit | dbabad0c9c026dea3ba803cbd9d768cdffc68e32 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Thu May 08 01:43:59 2008 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon May 12 21:22:19 2008 -0400 |
tree | 046b607c669724ab4bde3108eab4c79f467eb21d | |
parent | 6d6936e2ea82ebcbdd12d489b7b5ccf430de52f1 [diff] |
zd1211rw: fix potential use-after-free bug zd_mac_tx_to_dev() could potentially free the skb, or hand it off to mac80211 which might free it. Hence, this code needs to get the usb pointer out of skb->cb before handing it off to that function. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>