[PATCH v2 0/6] relay infrastructure take two
Johannes Berg
johannes at sipsolutions.net
Fri Sep 11 15:59:48 PDT 2026
After thinking about this for some time, I think I decided that
it's all better and safer as async. That requires some additional
infrastructure (the new patches in this set), but then has the
following advantages:
- the tests are really thread safe since there's no thread,
the lock in the previous version was annoying and, in a way,
not correct in wpaspy
- the relay functions that handle frames can properly raise
exceptions that bubble out immediately
If you prefer the previous version then I can redo that, some
of the things from here should be added (e.g. the try/finally
to always do the _ack() in the relay).
johannes
More information about the Hostap
mailing list