commit | e603d9d824ff0eda98a65708a7e82112becf2dca | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Mon Jul 13 13:25:58 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jul 21 12:07:40 2009 -0400 |
tree | ead78be30bfde8b11f6a5b60c3d2712b0136ebd4 | |
parent | 5d41635195c06fc3116ef3921fe85a9a3ea5ab20 [diff] |
mac80211_hwsim: fix use after free Once the "data" pointer is freed, we can't be iterating to the next item in the list any more so we need to use list_for_each_entry_safe with a temporary variable. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>