summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_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/udp_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/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 62e6131..2b582b2 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -943,7 +943,7 @@ udp_attach(struct socket *so, int proto, struct thread *td)
return error;
}
s = splnet();
- error = in_pcballoc(so, &udbinfo, td);
+ error = in_pcballoc(so, &udbinfo, td, "udpinp");
splx(s);
if (error) {
INP_INFO_WUNLOCK(&udbinfo);
OpenPOWER on IntegriCloud