summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfd.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-02-05 10:30:05 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-02-05 10:30:05 +0000
commit95c71a012cf89c5f801281d5f82e4e8fdc3db0ec (patch)
tree72e9766ed6361b68eb781d58d57ebbc0276e69b4 /usr.sbin/ospfd/ospfd.c
parentc96a954e89ac32ab96a83398c333f20767fc18cd (diff)
Move event packet handling into a serialized process context to remove
a state transitioning race condition. Event packets, like completing authentication and the following association completion, are usually received shortly after another. The code that handles those events is scheduled using a task, so it can easily happen that the state change caused by the authentication packet was not done before the following association event arrived. By moving the event packet handling into the same context as the state task we serialize the processing and remove the race condition. Fixes connecting to the 5GHz WiFi AP used at a2k18. ok stsp@
Diffstat (limited to 'usr.sbin/ospfd/ospfd.c')
0 files changed, 0 insertions, 0 deletions