aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-04-04 21:03:38 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-04-04 21:03:38 +0000
commit6008862bc2494a2094e15699f4f73fad800b6bcd (patch)
treef7344c6a10fdc020dd02fe2ee1f244cb56f92bb6 /sys/netinet6/ip6_input.c
parent96b0ad0ef364967868ccfd31fb02b0dbd91617ab (diff)
downloadsrc-6008862bc2494a2094e15699f4f73fad800b6bcd.tar.gz
src-6008862bc2494a2094e15699f4f73fad800b6bcd.zip
Change callers of mtx_init() to pass in an appropriate lock type name. In
most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64
Notes
Notes: svn path=/head/; revision=93818
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r--sys/netinet6/ip6_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index d29bcae58197..eb95fe8d53d2 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -180,7 +180,7 @@ ip6_init()
pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW)
ip6_protox[pr->pr_protocol] = pr - inet6sw;
ip6intrq.ifq_maxlen = ip6qmaxlen;
- mtx_init(&ip6intrq.ifq_mtx, "ip6_inq", MTX_DEF);
+ mtx_init(&ip6intrq.ifq_mtx, "ip6_inq", NULL, MTX_DEF);
ip6intrq_present = 1;
register_netisr(NETISR_IPV6, ip6intr);
nd6_init();