diff options
author | sam <sam@FreeBSD.org> | 2003-11-26 01:40:44 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-11-26 01:40:44 +0000 |
commit | 960b35f03a6c555c26345ba9adaa33039083e66f (patch) | |
tree | e73f0c0da8c8ad5f7e26fc7d6c55d52ecd1d54f9 /sys/netinet6 | |
parent | f3a38bd433ebca6fe0d7bf5080f05b08225865d9 (diff) | |
download | FreeBSD-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/netinet6')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 2 | ||||
-rw-r--r-- | sys/netinet6/udp6_usrreq.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index 1bd27c5..36e3fbc 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -580,7 +580,7 @@ rip6_attach(struct socket *so, int proto, struct thread *td) if (error) return error; s = splnet(); - error = in_pcballoc(so, &ripcbinfo, td); + error = in_pcballoc(so, &ripcbinfo, td, "raw6inp"); splx(s); if (error) return error; diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index 407d98b..e0612b3 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -560,7 +560,7 @@ udp6_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, "udp6inp"); splx(s); if (error) return error; |