RE: git: 0c424c90eaa6 - main - tcp: move ECN handling code to a common file
- In reply to: Gleb Smirnoff : "Re: git: 0c424c90eaa6 - main - tcp: move ECN handling code to a common file"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Feb 2022 15:37:51 UTC
Created D34181 to address this. Both macros currently resolve to counter_s64_add() eventually, but that may change eventually. -----Original Message----- From: Gleb Smirnoff <email@example.com> Sent: Samstag, 5. Februar 2022 16:17 To: Richard Scheffenegger <firstname.lastname@example.org> Cc: email@example.com; firstname.lastname@example.org; email@example.com Subject: Re: git: 0c424c90eaa6 - main - tcp: move ECN handling code to a common file NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe. Richard, On Sat, Feb 05, 2022 at 12:15:40AM +0000, Richard Scheffenegger wrote: R> The branch main has been updated by rscheff: R> R> URL: R> https://cgit.FreeBSD.org/src/commit/?id=0c424c90eaa6602e07bca7836b1d1 R> 78b91f2a88a R> R> commit 0c424c90eaa6602e07bca7836b1d178b91f2a88a R> Author: Richard Scheffenegger <rscheff@FreeBSD.org> R> AuthorDate: 2022-02-04 21:25:03 +0000 R> Commit: Richard Scheffenegger <rscheff@FreeBSD.org> R> CommitDate: 2022-02-04 21:54:41 +0000 R> R> tcp: move ECN handling code to a common file R> R> Reduce the burden to maintain correct and R> extensible ECN related code across multiple R> stacks and codepaths. R> R> Formally no functional change. R> R> Incidentially this establishes correct R> ECN operation in one instance. I'm sorry - didn't notice it in the phab review. :( There is no reason to use KMOD_TCPSTAT_INC() in the tcp_ecn.c. Now it is a file statically compiled into kernel, unlike RACK or BBR. It should use just TCPSTAT_INC(). -- Gleb Smirnoff