From 72e174286c1fd72f473277dc0b184715553eb70e Mon Sep 17 00:00:00 2001 From: Yoshinobu Inoue Date: Thu, 13 Jan 2000 05:18:30 +0000 Subject: [PATCH] removed incorrect ip6 length setting for IPv6 tcp reset packet. --- sys/netinet/tcp_subr.c | 1 - sys/netinet/tcp_timewait.c | 1 - 2 files changed, 2 deletions(-) diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 806ec5b48334..811f34c0d730 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -418,7 +418,6 @@ tcp_respond(tp, ipgen, th, m, ack, seq, flags) nth->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr), tlen - sizeof(struct ip6_hdr)); - ip6->ip6_plen = htons((u_short)tlen); ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL, ro6 && ro6->ro_rt ? ro6->ro_rt->rt_ifp : diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 806ec5b48334..811f34c0d730 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -418,7 +418,6 @@ tcp_respond(tp, ipgen, th, m, ack, seq, flags) nth->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr), tlen - sizeof(struct ip6_hdr)); - ip6->ip6_plen = htons((u_short)tlen); ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL, ro6 && ro6->ro_rt ? ro6->ro_rt->rt_ifp :