diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2014-10-01 05:43:29 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2014-10-01 05:43:29 +0000 |
commit | 83e95fb30b3ab55853c5aaecea6988f4ffc06c84 (patch) | |
tree | b49306ad1e5d6ad0db9ac20940e636ea5c6f87a3 /sys/netinet6/udp6_usrreq.c | |
parent | 721dae3a52001030fbe4eb7c59c6abad2b8b02e4 (diff) | |
download | src-83e95fb30b3ab55853c5aaecea6988f4ffc06c84.tar.gz src-83e95fb30b3ab55853c5aaecea6988f4ffc06c84.zip |
Notes
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
-rw-r--r-- | sys/netinet6/udp6_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index 22981876ef4e..28f2753ac98d 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -261,7 +261,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto) if (uh_sum != 0) { UDPSTAT_INC(udps_badsum); - goto badunlocked; + /*goto badunlocked;*/ } /* @@ -481,7 +481,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto) INP_RLOCK_ASSERT(inp); up = intoudpcb(inp); if (cscov_partial) { - if (up->u_rxcslen > ulen) { + if (up->u_rxcslen == 0 || up->u_rxcslen > ulen) { INP_RUNLOCK(inp); m_freem(m); return (IPPROTO_DONE); |