diff options
author | 2021-04-01 08:39:52 +0000 | |
---|---|---|
committer | 2021-04-01 08:39:52 +0000 | |
commit | 99ae0d529b6d032ce4069677ab2067bf7b453da4 (patch) | |
tree | eb855c3e2ff04cc65ae351e28a434b673d4d9c6f /gnu/llvm/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.h | |
parent | Make build_crls() behave like build_chain(). If there is not auth data (diff) | |
download | wireguard-openbsd-99ae0d529b6d032ce4069677ab2067bf7b453da4.tar.xz wireguard-openbsd-99ae0d529b6d032ce4069677ab2067bf7b453da4.zip |
Push kernel lock down to umb_rtrequest().
We are going to unlock PF_ROUTE sockets. This means `if_rtrequest'
handler will be performed without kernel lock.
umb_rtrequest() calls umb_send_inet_proposal() which touches kernel lock
protected `ipv{4,6}dns' array. Also umb_rtrequest() is the only handler
which requires kernel lock to be held. So push the lock down to
umb_rtrequest() instead of grab it around `if_rtrequest' call.
This hunk was commited separately for decreases PF_ROUTE sockets
unlocking diff.
ok gerhard@ deraadt@
Diffstat (limited to 'gnu/llvm/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.h')
0 files changed, 0 insertions, 0 deletions