diff options
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r-- | sys/netinet6/udp6_usrreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index 005c2d5..cec632c 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; |