]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r272404:
authortuexen <tuexen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 17:08:19 +0000 (17:08 +0000)
committertuexen <tuexen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 6 Oct 2014 17:08:19 +0000 (17:08 +0000)
commit6acf980a80ac44603ce1190dc50d520bb527deaa
tree1a7cb000c510b03bf8075a05e3a0a3d0ab5db11a
parent3d41875aed4eda19f8a5403b756cccc03545bcbf
MFC r272404:
Fix the checksum computation for UDPLite/IPv6. This requires the
usage of a function computing the checksum only over a part of the function.
Therefore introduce in6_cksum_partial() and implement in6_cksum() based
on that.
While there, ensure that the UDPLite packet contains at least enough bytes
to contain the header.

git-svn-id: svn://svn.freebsd.org/base/stable/10@272662 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet6/in6.h
sys/netinet6/in6_cksum.c
sys/netinet6/udp6_usrreq.c