Return to udp_usrreq.c CVS log | Up to [cvs.NetBSD.org] / src / sys / netinet |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.116.2.1, 2004/03/31 19:58:54 | version 1.116.2.2, 2004/03/31 19:59:41 | ||
---|---|---|---|
|
|
||
if (uh->uh_sum == 0) { | if (uh->uh_sum == 0) { | ||
udp6stat.udp6s_nosum++; | udp6stat.udp6s_nosum++; | ||
goto bad; | goto bad; | ||
} else if (in6_cksum(m, IPPROTO_UDP, off, ulen) != 0) { | } | ||
if (in6_cksum(m, IPPROTO_UDP, off, ulen) != 0) { | |||
udp6stat.udp6s_badsum++; | udp6stat.udp6s_badsum++; | ||
goto bad; | goto bad; | ||
} | } |