From: Johannes Berg Date: Mon, 13 Jul 2009 11:25:58 +0000 (+0200) Subject: mac80211_hwsim: fix use after free X-Git-Tag: v2.6.31-rc5~83^2~18^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e603d9d824ff0eda98a65708a7e82112becf2dca;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed