summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-11-26 01:40:44 +0000
committersam <sam@FreeBSD.org>2003-11-26 01:40:44 +0000
commit960b35f03a6c555c26345ba9adaa33039083e66f (patch)
treee73f0c0da8c8ad5f7e26fc7d6c55d52ecd1d54f9 /sys/netinet/tcp_usrreq.c
parentf3a38bd433ebca6fe0d7bf5080f05b08225865d9 (diff)
downloadFreeBSD-src-960b35f03a6c555c26345ba9adaa33039083e66f.zip
FreeBSD-src-960b35f03a6c555c26345ba9adaa33039083e66f.tar.gz
Split the "inp" mutex class into separate classes for each of divert,
raw, tcp, udp, raw6, and udp6 sockets to avoid spurious witness complaints. Reviewed by: rwatson Approved by: re (rwatson)
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 17566c8..985d3b5 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1175,7 +1175,7 @@ tcp_attach(so, td)
if (error)
return (error);
}
- error = in_pcballoc(so, &tcbinfo, td);
+ error = in_pcballoc(so, &tcbinfo, td, "tcpinp");
if (error)
return (error);
inp = sotoinpcb(so);
OpenPOWER on IntegriCloud