Thanks for reporting these. NFS has this same problem with sowakeup().
You can find an old patch I made for this at
http://www.freebsd.org/~hsu/hammer.diff
It takes a big hammer to the problem and is less than elegant, so I
haven't committed it. I hope to have time to address this problem
hi,
Expirementing today with netgraph sockets hit into these two cases:
1:
lock order reversal
1st 0xc27658b4 inp (inp) @ /home/phantom/src5/sys/netinet/tcp_input.c:640
2nd 0xc031832c tcp (tcp) @ /home/phantom/src5/sys/netinet/tcp_usrreq.c:621
Stack backtrace:
backtrace(c02e9301,c031832c,c02ee