aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>2006-09-07 18:44:54 +0000
committerJohn Hay <jhay@FreeBSD.org>2006-09-07 18:44:54 +0000
commit1fcae350ae8476c68d771c80f5e081ce88972edc (patch)
treeb5b7bb602cbb02d18950eff42b07a63b0ab2981b
parent47b470b9e3ba4f9fbcf5960783b77f19493027a4 (diff)
Notes
-rw-r--r--sys/netinet6/udp6_usrreq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 005c2d597633..cec632c7cf9b 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -283,9 +283,9 @@ udp6_input(mp, offp, proto)
struct mbuf *n;
if ((n = m_copy(m, 0, M_COPYALL)) != NULL) {
- INP_LOCK(in6p);
- udp6_append(in6p, n, off, &fromsa);
- INP_UNLOCK(in6p);
+ INP_LOCK(last);
+ udp6_append(last, n, off, &fromsa);
+ INP_UNLOCK(last);
}
}
last = in6p;