summaryrefslogtreecommitdiff
path: root/sys/netinet6/udp6_usrreq.c
diff options
context:
space:
mode:
authorStephan Uphoff <ups@FreeBSD.org>2006-07-18 22:34:27 +0000
committerStephan Uphoff <ups@FreeBSD.org>2006-07-18 22:34:27 +0000
commitd915b2801534ecb14fceb9ac894c9aa3fb65d6c8 (patch)
tree2e39fd9d815a6efa63bdabd6bfed00c38e05310a /sys/netinet6/udp6_usrreq.c
parent0c6d6356bab47061765c0f24d769afe069d9e94b (diff)
Notes
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r--sys/netinet6/udp6_usrreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 18f0c814c5b6..f031b9690eb4 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -503,13 +503,12 @@ udp6_attach(struct socket *so, int proto, struct thread *td)
return error;
}
INP_INFO_WLOCK(&udbinfo);
- error = in_pcballoc(so, &udbinfo, "udp6inp");
+ error = in_pcballoc(so, &udbinfo);
if (error) {
INP_INFO_WUNLOCK(&udbinfo);
return error;
}
inp = (struct inpcb *)so->so_pcb;
- INP_LOCK(inp);
INP_INFO_WUNLOCK(&udbinfo);
inp->inp_vflag |= INP_IPV6;
if ((inp->inp_flags & IN6P_IPV6_V6ONLY) == 0)