netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] selftest:net: fixed spelling mistakes
@ 2025-02-17  0:14 Andres Urian Florez
  2025-02-17  2:23 ` Hangbin Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Andres Urian Florez @ 2025-02-17  0:14 UTC (permalink / raw)
  To: pablo, kadlec, davem, edumazet, kuba, pabeni, horms, skhan
  Cc: Andres Urian Florez, netfilter-devel, coreteam, netdev,
	linux-kselftest, linux-kernel-mentees

Fixed spelling errors in test_redirect6() error message and
test_port_shadowing() comments

Signed-off-by: Andres Urian Florez <andres.emb.sys@gmail.com>
---
 tools/testing/selftests/net/netfilter/nft_nat.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/net/netfilter/nft_nat.sh b/tools/testing/selftests/net/netfilter/nft_nat.sh
index 9e39de26455f..8143b877ae7d 100755
--- a/tools/testing/selftests/net/netfilter/nft_nat.sh
+++ b/tools/testing/selftests/net/netfilter/nft_nat.sh
@@ -569,7 +569,7 @@ test_redirect6()
 	ip netns exec "$ns0" sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
 
 	if ! ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null;then
-		echo "ERROR: cannnot ping $ns1 from $ns2 via ipv6"
+		echo "ERROR: cannot ping $ns1 from $ns2 via ipv6"
 		lret=1
 	fi
 
@@ -859,7 +859,7 @@ EOF
 	# from router:service bypass connection tracking.
 	test_port_shadow_notrack "$family"
 
-	# test nat based mitigation: fowarded packets coming from service port
+	# test nat based mitigation: forwarded packets coming from service port
 	# are masqueraded with random highport.
 	test_port_shadow_pat "$family"
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] selftest:net: fixed spelling mistakes
  2025-02-17  0:14 [PATCH net-next] selftest:net: fixed spelling mistakes Andres Urian Florez
@ 2025-02-17  2:23 ` Hangbin Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Hangbin Liu @ 2025-02-17  2:23 UTC (permalink / raw)
  To: Andres Urian Florez
  Cc: pablo, kadlec, davem, edumazet, kuba, pabeni, horms, skhan,
	netfilter-devel, coreteam, netdev, linux-kselftest,
	linux-kernel-mentees

On Sun, Feb 16, 2025 at 07:14:50PM -0500, Andres Urian Florez wrote:
> Fixed spelling errors in test_redirect6() error message and
> test_port_shadowing() comments
> 
> Signed-off-by: Andres Urian Florez <andres.emb.sys@gmail.com>

Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>

> ---
>  tools/testing/selftests/net/netfilter/nft_nat.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/testing/selftests/net/netfilter/nft_nat.sh b/tools/testing/selftests/net/netfilter/nft_nat.sh
> index 9e39de26455f..8143b877ae7d 100755
> --- a/tools/testing/selftests/net/netfilter/nft_nat.sh
> +++ b/tools/testing/selftests/net/netfilter/nft_nat.sh
> @@ -569,7 +569,7 @@ test_redirect6()
>  	ip netns exec "$ns0" sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
>  
>  	if ! ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null;then
> -		echo "ERROR: cannnot ping $ns1 from $ns2 via ipv6"
> +		echo "ERROR: cannot ping $ns1 from $ns2 via ipv6"
>  		lret=1
>  	fi
>  
> @@ -859,7 +859,7 @@ EOF
>  	# from router:service bypass connection tracking.
>  	test_port_shadow_notrack "$family"
>  
> -	# test nat based mitigation: fowarded packets coming from service port
> +	# test nat based mitigation: forwarded packets coming from service port
>  	# are masqueraded with random highport.
>  	test_port_shadow_pat "$family"
>  
> -- 
> 2.43.0
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-17  2:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17  0:14 [PATCH net-next] selftest:net: fixed spelling mistakes Andres Urian Florez
2025-02-17  2:23 ` Hangbin Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).