Re: [PATCH net-next v2 1/6] net/tcp: Use static_branch_tcp_{md5,ao} to drop ifdefs

2024-06-05 Thread Dmitry Safonov
On Wed, 5 Jun 2024 at 05:50, Ratheesh Kannoth wrote: > > On 2024-06-05 at 07:50:02, Dmitry Safonov via B4 Relay > (devnull+0x7f454c46.gmail@kernel.org) wrote: > > From: Dmitry Safonov <0x7f454...@gmail.com> > > > > It's possible to clean-up some ifdefs by hiding that > > tcp_{md5,ao}_needed s

Re: [PATCH net-next v2 1/6] net/tcp: Use static_branch_tcp_{md5,ao} to drop ifdefs

2024-06-05 Thread Eric Dumazet
On Wed, Jun 5, 2024 at 4:20 AM Dmitry Safonov via B4 Relay wrote: > > From: Dmitry Safonov <0x7f454...@gmail.com> > > It's possible to clean-up some ifdefs by hiding that > tcp_{md5,ao}_needed static branch is defined and compiled only > under related configs, since commit 4c8530dc7d7d ("net/tcp:

Re: [PATCH net-next v2 1/6] net/tcp: Use static_branch_tcp_{md5,ao} to drop ifdefs

2024-06-04 Thread Ratheesh Kannoth
On 2024-06-05 at 07:50:02, Dmitry Safonov via B4 Relay (devnull+0x7f454c46.gmail@kernel.org) wrote: > From: Dmitry Safonov <0x7f454...@gmail.com> > > It's possible to clean-up some ifdefs by hiding that > tcp_{md5,ao}_needed static branch is defined and compiled only > under related configs, s

[PATCH net-next v2 1/6] net/tcp: Use static_branch_tcp_{md5,ao} to drop ifdefs

2024-06-04 Thread Dmitry Safonov via B4 Relay
From: Dmitry Safonov <0x7f454...@gmail.com> It's possible to clean-up some ifdefs by hiding that tcp_{md5,ao}_needed static branch is defined and compiled only under related configs, since commit 4c8530dc7d7d ("net/tcp: Only produce AO/MD5 logs if there are any keys"). Signed-off-by: Dmitry Safon