]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add global mutex tcp_debug_mtx, which will protect global TCP debugging
authorrwatson <rwatson@FreeBSD.org>
Fri, 4 May 2007 23:43:18 +0000 (23:43 +0000)
committerrwatson <rwatson@FreeBSD.org>
Fri, 4 May 2007 23:43:18 +0000 (23:43 +0000)
commit25b2d1a7d4df6fdf37ff9f938ee634210b3cbb15
tree7477f7905a44a2ce6f82569b17a1f4b924da64ba
parent6ab1aa7971bd4c712b1c6f75118c2dd8d2745ed6
Add global mutex tcp_debug_mtx, which will protect global TCP debugging
state tcp_debug, tcp_debx.  Acquire and drop as required in tcp_trace().

Move to ANSI C function header, correct prototype types so that short TCP
state is no longer promoted to int unnecessarily.

Add comments.

MFC after: 3 weeks
sys/netinet/tcp_debug.c
sys/netinet/tcp_var.h