diff options
author | 2015-08-24 14:28:25 +0000 | |
---|---|---|
committer | 2015-08-24 14:28:25 +0000 | |
commit | 0c592296fa22fb0fe71723c7128aa5fd1ffd7651 (patch) | |
tree | 1f29404123a40208e39e19fcc8eb4c49861fd82b /sys/netinet/tcp_input.c | |
parent | In kernel initialize struct sockaddr_in and sockaddr_in6 to zero (diff) | |
download | wireguard-openbsd-0c592296fa22fb0fe71723c7128aa5fd1ffd7651.tar.xz wireguard-openbsd-0c592296fa22fb0fe71723c7128aa5fd1ffd7651.zip |
Items from pool sosplice_pool are get in process context and put
in soft interrupt. So the pool needs an IPL_SOFTNET protection.
This fixes a panic: mtx_enter: locking against myself.
While there, call pool_setipl() also for socket_pool. Although
this pool uses explicit spl protection around pool_get() and
pool_put(), it is better to specify the IPL it is operating on.
OK mpi@ mikeb@
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions