[PATCH net-next] selftests/net: add tcp_port_share to .gitignore

Gopi Krishna Menon posted 1 patch 2 months, 2 weeks ago
tools/testing/selftests/net/.gitignore | 1 +
1 file changed, 1 insertion(+)
[PATCH net-next] selftests/net: add tcp_port_share to .gitignore
Posted by Gopi Krishna Menon 2 months, 2 weeks ago
Add the tcp_port_share test binary to .gitignore to avoid
accidentally staging the build artifact.

Fixes: 8a8241cdaa34 ("selftests/net: Test tcp port reuse after unbinding
a socket")
Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
---
 tools/testing/selftests/net/.gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/net/.gitignore b/tools/testing/selftests/net/.gitignore
index 3d4b4a53dfda..439101b518ee 100644
--- a/tools/testing/selftests/net/.gitignore
+++ b/tools/testing/selftests/net/.gitignore
@@ -52,6 +52,7 @@ tap
 tcp_fastopen_backup_key
 tcp_inq
 tcp_mmap
+tcp_port_share
 tfo
 timestamping
 tls
-- 
2.43.0
Re: [PATCH net-next] selftests/net: add tcp_port_share to .gitignore
Posted by Simon Horman 2 months, 2 weeks ago
On Mon, Sep 29, 2025 at 10:01:38PM +0530, Gopi Krishna Menon wrote:
> Add the tcp_port_share test binary to .gitignore to avoid
> accidentally staging the build artifact.
> 
> Fixes: 8a8241cdaa34 ("selftests/net: Test tcp port reuse after unbinding
> a socket")

I'm not entirely sure this qualifies for a fixes tag.
It is user-visible. It's probably annoying.
But I'm not sure it's a bug.

> Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
> ---
>  tools/testing/selftests/net/.gitignore | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Horman <horms@kernel.org>

I notice that tools/testing/selftests/kexec/test_kexec_jump
is in a similar state. Do you plan to send a patch to address
that too?

..
Re: [PATCH net-next] selftests/net: add tcp_port_share to .gitignore
Posted by Simon Horman 2 months, 2 weeks ago
On Tue, Sep 30, 2025 at 09:59:44AM +0100, Simon Horman wrote:
> On Mon, Sep 29, 2025 at 10:01:38PM +0530, Gopi Krishna Menon wrote:
> > Add the tcp_port_share test binary to .gitignore to avoid
> > accidentally staging the build artifact.
> > 
> > Fixes: 8a8241cdaa34 ("selftests/net: Test tcp port reuse after unbinding
> > a socket")
> 
> I'm not entirely sure this qualifies for a fixes tag.
> It is user-visible. It's probably annoying.
> But I'm not sure it's a bug.

Also, FTR, fixes tag's shouldn't be line wrapped.

> > Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
> > ---
> >  tools/testing/selftests/net/.gitignore | 1 +
> >  1 file changed, 1 insertion(+)
> 
> Reviewed-by: Simon Horman <horms@kernel.org>
> 
> I notice that tools/testing/selftests/kexec/test_kexec_jump
> is in a similar state. Do you plan to send a patch to address
> that too?
> 
> ..

Please note that net-next is now closed.

So if you do respin, please wait for it to re-open once v6.18-rc1 has been
released. About two weeks from now.
Re: [PATCH net-next] selftests/net: add tcp_port_share to .gitignore
Posted by Gopi Krishna Menon 2 months, 2 weeks ago
On Tue, Sep 30, 2025 at 10:02:03AM +0100, Simon Horman wrote:

> On Tue, Sep 30, 2025 at 09:59:44AM +0100, Simon Horman wrote:
> > On Mon, Sep 29, 2025 at 10:01:38PM +0530, Gopi Krishna Menon wrote:
> > > Add the tcp_port_share test binary to .gitignore to avoid
> > > accidentally staging the build artifact.
> > > 
> > > Fixes: 8a8241cdaa34 ("selftests/net: Test tcp port reuse after unbinding
> > > a socket")
> > 
> > I'm not entirely sure this qualifies for a fixes tag.
> > It is user-visible. It's probably annoying.
> > But I'm not sure it's a bug.

Hi Simon, thanks for the review. I also feel that Fixes tag is not
required for this change. I added it based on this earlier
commit(7ae495a537d1):
https://lore.kernel.org/all/20250307031356.368350-1-willemdebruijn.kernel@gmail.com
but other commits similar in nature dont have the fixes tag, therefore I
will remove it in v2. 

> 
> Also, FTR, fixes tag's shouldn't be line wrapped.
> 
> > > Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
> > > ---
> > >  tools/testing/selftests/net/.gitignore | 1 +
> > >  1 file changed, 1 insertion(+)
> > 
> > Reviewed-by: Simon Horman <horms@kernel.org>
> > 
> > I notice that tools/testing/selftests/kexec/test_kexec_jump
> > is in a similar state. Do you plan to send a patch to address
> > that too?
> > 
> > ..

This has been already addressed and will be in 6.18-rc1 I believe:
https://lore.kernel.org/all/faf206d8-ccd8-48b5-8e7e-d596ddbbcbb6@linuxfoundation.org/

> 
> Please note that net-next is now closed.
> 
> So if you do respin, please wait for it to re-open once v6.18-rc1 has been
> released. About two weeks from now.
Noted, I will send a v2 for this patch when net-next will be reopened.
Re: [PATCH net-next] selftests/net: add tcp_port_share to .gitignore
Posted by Jakub Kicinski 2 months, 2 weeks ago
On Tue, 30 Sep 2025 19:17:29 +0530 Gopi Krishna Menon wrote:
> > Please note that net-next is now closed.
> > 
> > So if you do respin, please wait for it to re-open once v6.18-rc1 has been
> > released. About two weeks from now.  
> Noted, I will send a v2 for this patch when net-next will be reopened.

I suppose a dirty tree will annoy people. Let's get this fixed before
we ship net-next since it's a recent "regression". I'll drop the Fixes
tag and apply