diff options
author | 2017-06-07 13:28:02 +0000 | |
---|---|---|
committer | 2017-06-07 13:28:02 +0000 | |
commit | 3431983c017a4bc56451d3de848a13601e5d75a1 (patch) | |
tree | dcb0cb39bc604728bd0d75cc1bf8d4a3c81eaa61 /sys/kern/kern_malloc.c | |
parent | reword "listen on socket" somewhat; ok gilles (diff) | |
download | wireguard-openbsd-3431983c017a4bc56451d3de848a13601e5d75a1.tar.xz wireguard-openbsd-3431983c017a4bc56451d3de848a13601e5d75a1.zip |
Grab the KERNEL_LOCK() around rtm*() functions. Routing sockets globals
aren't protected by the NET_LOCK().
While here change lock assertions in rt_{set,put}gwroute(), the NET_LOCK()
is enough.
Tested by Hrvoje Popovski.
ok jmatthew@, claudio@
Diffstat (limited to 'sys/kern/kern_malloc.c')
0 files changed, 0 insertions, 0 deletions