summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2018-09-19 07:54:11 +0000
committerrin <rin@NetBSD.org>2018-09-19 07:54:11 +0000
commitd06ee3f45a1e1befe951a26daf12569ae23fee6c (patch)
tree9e5c74ad7822c8ea7a3df3909da443eb7b1cdd33 /sys/dev
parentff3cf8635020438461068304c7fc16557ef64451 (diff)
Fix in_undefer_cksum() and in6_undefer_cksum().
The 4th argument for in[46]_cksum() should be length of L4 header + L4 payload. The previous revisions are wrong - for IPv4 when hdrlen != 0 - for IPv6 always These functions are used only in net/if_loop.c and arch/powerpc/booke/dev/pq3etsec.c under some special circumferences. This should be why the bugs have not been found until today. OK maxv
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions