]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix leaks of wdev->conn->ie
authorDavid Kilroy <kilroyd@googlemail.com>
Tue, 18 Aug 2009 23:43:31 +0000 (00:43 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:36:06 +0000 (11:36 -0400)
commit50e9b553540c7712587bf236226072d7f9c03e6a
tree285f400386932f691849b3c0114c322b64214a88
parent91de71ddcdee6550215b7932f64b2c8956f20d72
cfg80211: fix leaks of wdev->conn->ie

This only occurs in the following error situations:
 - driver calls connect_result with failure
 - error scheduling authentication on connect
 - error initiating scan (to get BSSID and channel) on
   connect
 - userspace calls disconnect while in the SCANNING or
   SCAN_AGAIN states

Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/sme.c