🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
3 messages
3 total messages Started by Omokefe Emmanuel Onanaroghene Fri, 20 Nov 2026 06:30
[PATCH net-next] selftests: net: sk_connect_zero_addr: fix mislabeled connect diagnostic
#19638
Author: Omokefe Emmanuel Onanaroghene
Date: Fri, 20 Nov 2026 06:30
24 lines
11193 bytes
The connect() failure branch reports "bind fd2", copy-pasted from the
bind() block above. Name the failing call.

Signed-off-by: Omokefe Emmanuel Onanaroghene <emmaonana18@gmail.com>
---
 tools/testing/selftests/net/sk_connect_zero_addr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/net/sk_connect_zero_addr.c b/tools/testing/selftests/net/sk_connect_zero_addr.c
index 4be418aefd9f7..4441e9c62fde5 100644
--- a/tools/testing/selftests/net/sk_connect_zero_addr.c
+++ b/tools/testing/selftests/net/sk_connect_zero_addr.c
@@ -46,7 +46,7 @@ int main(void)
 	}
 e
 	if (connect(fd2, (struct sockaddr *)&bind_addr, sizeof(bind_addr))) {
-		error(1, errno, "bind fd2");
+		error(1, errno, "connect fd2");
 		goto out_err2;
 	}
 
-- 
2.43.0
Re: [PATCH net-next] selftests: net: sk_connect_zero_addr: fix mislabeled connect diagnostic
#20739
Author: Hangbin Liu
Date: Mon, 23 Nov 2026 05:47
32 lines
9273 bytes
Hi Omokefe,
On Fri, Nov 20, 2026 at 07:30:11AM +0100, Omokefe Emmanuel Onanaroghene wrote:
> The connect() failure branch reports "bind fd2", copy-pasted from the
> bind() block above. Name the failing call.
> 
> Signed-off-by: Omokefe Emmanuel Onanaroghene <emmaonana18@gmail.com>
> ---
>  tools/testing/selftests/net/sk_connect_zero_addr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/net/sk_connect_zero_addr.c b/tools/testing/selftests/net/sk_connect_zero_addr.c
> index 4be418aefd9f7..4441e9c62fde5 100644
> --- a/tools/testing/selftests/net/sk_connect_zero_addr.c
> +++ b/tools/testing/selftests/net/sk_connect_zero_addr.c
> @@ -46,7 +46,7 @@ int main(void)
>  	}
>  e

An "e" here?

Thanks
Hangbin
>  	if (connect(fd2, (struct sockaddr *)&bind_addr, sizeof(bind_addr))) {
> -		error(1, errno, "bind fd2");
> +		error(1, errno, "connect fd2");
>  		goto out_err2;
>  	}
>  
> -- 
> 2.43.0
> 
Re: [PATCH net-next] selftests: net: sk_connect_zero_addr: fix mislabeled connect diagnostic
#22117
Author: Omokefe Emmanuel Onanaroghene
Date: Tue, 24 Nov 2026 21:49
8 lines
10939 bytes
On Mon, 23 Nov 2026 13:47:54 +0800 Hangbin Liu wrote:
> An "e" here?

Thanks for catching it. Fixed in v2.
https://lore.kernel.org/all/20261124214736.13398-1-emmaonana18@gmail.com/

Omokefe
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads