diff options
author | shin <shin@FreeBSD.org> | 2000-01-13 05:18:30 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 2000-01-13 05:18:30 +0000 |
commit | d5ae8633fdd8466448d9aa34ad3507c96a028a76 (patch) | |
tree | b6f62378479cd603c791fcff35a3bea3f22032df /sys/netinet | |
parent | 5af875fc35feef90eef7f292f4ab6c7b8966a1e1 (diff) | |
download | FreeBSD-src-d5ae8633fdd8466448d9aa34ad3507c96a028a76.zip FreeBSD-src-d5ae8633fdd8466448d9aa34ad3507c96a028a76.tar.gz |
removed incorrect ip6 length setting for IPv6 tcp reset packet.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp_subr.c | 1 | ||||
-rw-r--r-- | sys/netinet/tcp_timewait.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 806ec5b..811f34c 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 806ec5b..811f34c 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 : |