summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2015-08-24 14:28:25 +0000
committerbluhm <bluhm@openbsd.org>2015-08-24 14:28:25 +0000
commit0c592296fa22fb0fe71723c7128aa5fd1ffd7651 (patch)
tree1f29404123a40208e39e19fcc8eb4c49861fd82b /sys/netinet/tcp_input.c
parentIn kernel initialize struct sockaddr_in and sockaddr_in6 to zero (diff)
downloadwireguard-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