git: fd723975ec72 - main - tcp: fix typo in commit f026275e26d0071ac3dee98526e8b9bcad58f0fa

From: Richard Scheffenegger <rscheff_at_FreeBSD.org>
Date: Thu, 03 Feb 2022 20:06:22 UTC
The branch main has been updated by rscheff:

URL: https://cgit.FreeBSD.org/src/commit/?id=fd723975ec7270bf8e777becddd6e3548550403d

commit fd723975ec7270bf8e777becddd6e3548550403d
Author:     Richard Scheffenegger <rscheff@FreeBSD.org>
AuthorDate: 2022-02-03 19:53:50 +0000
Commit:     Richard Scheffenegger <rscheff@FreeBSD.org>
CommitDate: 2022-02-03 20:05:09 +0000

    tcp: fix typo in commit f026275e26d0071ac3dee98526e8b9bcad58f0fa
    
    missed one bitmask inversion while committing D34148
    
    Differential Revision: https://reviews.freebsd.org/D34148
    Differential Revision: https://reviews.freebsd.org/D34160
---
 sys/netinet/tcp_stacks/rack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
index 22164c0d5cf4..6d5b3f2133a6 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -18626,7 +18626,7 @@ send:
 			else
 #endif
 			{
-				ip->ip_tos &= IPTOS_ECN_MASK;
+				ip->ip_tos &= ~IPTOS_ECN_MASK;
 				ip->ip_tos |= IPTOS_ECN_ECT0;
 			}
 			KMOD_TCPSTAT_INC(tcps_ecn_ect0);