Index: sys/kern/uipc_socket.c =================================================================== --- sys/kern/uipc_socket.c (revision 225011) +++ sys/kern/uipc_socket.c (working copy) @@ -659,6 +659,8 @@ sofree(struct socket *so) * before calling pru_detach. This means that protocols shold not * assume they can perform socket wakeups, etc, in their detach code. */ + selwakeup(&so->so_snd.sb_sel); + selwakeup(&so->so_rcv.sb_sel); sbdestroy(&so->so_snd, so); sbdestroy(&so->so_rcv, so); knlist_destroy(&so->so_rcv.sb_sel.si_note);