summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2011-04-28 07:35:15 +0000
committerjakemsr <jakemsr@openbsd.org>2011-04-28 07:35:15 +0000
commit065569d38ce4222f8f3229ef4c910fcec23b9b34 (patch)
tree7808074db81bfdd2d486f870493fc7f1abed4d63 /sys/netinet/tcp_input.c
parent- slight tweak for FILES (diff)
downloadwireguard-openbsd-065569d38ce4222f8f3229ef4c910fcec23b9b34.tar.xz
wireguard-openbsd-065569d38ce4222f8f3229ef4c910fcec23b9b34.zip
remove horrible abuse of kthread_create_deferred(9). this was being
used to "do things later" and was potentially sleeping in swapper context. the latter is really bad, because it might never wake up. instead, move the things that usb_first_explore() was doing to the first run of the explore task. since tasks are run in a kthread, they are in process context and ok to sleep. fixes boot hang noticed by jsg@, which mikeb@ debugged and found usb_first_explore() to be sleeping swapper context
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions