]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Use safe list iteration
authorJohannes Berg <johannes.berg@intel.com>
Mon, 4 Jun 2012 17:25:11 +0000 (20:25 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 4 Jun 2012 17:25:11 +0000 (20:25 +0300)
commit24b5bd8b42c05ca5c041c88abf3944a07f3f839f
tree70d9250b28a10a2fffae522d5eaf077ba08f2fe6
parentfdfb1c8bcf491ca91f6575e31a02e5d5d2de911d
nl80211: Use safe list iteration

In certain cases like PBC session overlap it appears to be possible that
an interface is removed due to an event handled on it, this leads to
list corruption. Use safe iteration to prevent this issue.

Reported-by: Nirav Shah <nirav.j2.shah@intel.com>
Reported-by: Neeraj Kumar Garg <neerajkg@broadcom.com>
Signed-hostap: Johannes Berg <johannes.berg@intel.com>
intended-for: hostap-1
src/drivers/driver_nl80211.c