summaryrefslogtreecommitdiff
path: root/etc/root
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2017-07-23 13:51:12 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2017-07-23 13:51:12 +0000
commit9e923a08f464c558a9d9404a71304e68fd9a42c9 (patch)
tree08d6c7cdf82766ed254616a6a449a362effee121 /etc/root
parent8887a76a351d1af00b4a6cb2ca81d34dfadde2fd (diff)
Prevent a possible "MAC context already removed" panic in iwm_auth().
This panic happens if iwm_newstate_task() sleeps and wakes up after iwm_stop(). The error path of iwm_newstate_task() attempts to reset driver flags and firmware state, which should not be done if iwm_stop() has already done so. A more comprehensive fix for such races is being worked on but not ready yet. For now, check the generation counter in the error path of iwm_auth() and only clean up state if that counter hasn't changed. Problem reported and workaround tested by giovanni@
Diffstat (limited to 'etc/root')
0 files changed, 0 insertions, 0 deletions