summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorYoshinobu Inoue <shin@FreeBSD.org>2000-04-19 15:05:00 +0000
committerYoshinobu Inoue <shin@FreeBSD.org>2000-04-19 15:05:00 +0000
commit34e3e010b69c8a54176d81694f10a99adbb6e5cd (patch)
tree1e13b172fe6d89f5e3b4b8741ebe9a079499334d /sys/netinet/tcp_subr.c
parent3389ae93509e373046adc0ada353e39e359c4ff8 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index d4c552f03cce..e38a2a7bf452 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -420,6 +420,7 @@ tcp_respond(tp, ipgen, th, m, ack, seq, flags)
nth->th_urp = 0;
#ifdef INET6
if (isipv6) {
+ nth->th_sum = 0;
nth->th_sum = in6_cksum(m, IPPROTO_TCP,
sizeof(struct ip6_hdr),
tlen - sizeof(struct ip6_hdr));