diff options
| author | John Hay <jhay@FreeBSD.org> | 2006-09-07 18:44:54 +0000 |
|---|---|---|
| committer | John Hay <jhay@FreeBSD.org> | 2006-09-07 18:44:54 +0000 |
| commit | 1fcae350ae8476c68d771c80f5e081ce88972edc (patch) | |
| tree | b5b7bb602cbb02d18950eff42b07a63b0ab2981b /sys/netinet6 | |
| parent | 47b470b9e3ba4f9fbcf5960783b77f19493027a4 (diff) | |
Notes
Diffstat (limited to 'sys/netinet6')
| -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 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; |
