mac80211: fix use after free
authorAlan Cox <alan@linux.intel.com>
Fri, 13 Jul 2012 14:14:45 +0000 (16:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Jul 2012 14:15:54 +0000 (16:15 +0200)
commit4b4b8229aeff4ca09b4aee921d383c596146eca0
tree49646d515eb82d83e10197df2ac2d2e833b7cae1
parentae33bd817a10f39174453b754e9b548132acae4a
mac80211: fix use after free

roc is destroyed then roc->started is referenced. Keep a local cache.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/offchannel.c