aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/udp6_usrreq.c
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2015-07-22 09:29:50 +0000
committerRandall Stewart <rrs@FreeBSD.org>2015-07-22 09:29:50 +0000
commitf260c1b9399279bfb5bcf65485db47df0001adec (patch)
treecbb2338604c51e8a4d912bc9ff361e8a46ec732d /sys/netinet6/udp6_usrreq.c
parentc48c590f63bcd1f7cdd0465b243092356d4677cd (diff)
Notes
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r--sys/netinet6/udp6_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 15e5034822aa1..eb97c1ee552ae 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -403,7 +403,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto)
INP_RLOCK(last);
INP_INFO_RUNLOCK(pcbinfo);
UDP_PROBE(receive, NULL, last, ip6, last, uh);
- if (udp6_append(last, m, off, &fromsa))
+ if (udp6_append(last, m, off, &fromsa) == 0)
INP_RUNLOCK(last);
inp_lost:
return (IPPROTO_DONE);