[PATCH] netlabel: fix typo in comment

Subsystems: networking [general], networking [labeled] (netlabel, labeled ipsec, secmark), the rest

STALE1523d

3 messages, 3 authors, 2022-08-10 · open the first message on its own page

[PATCH] netlabel: fix typo in comment

From: Topi Miettinen <hidden>
Date: 2022-08-06 10:13:31

'IPv4 and IPv4' should be 'IPv4 and IPv6'.

Signed-off-by: Topi Miettinen <redacted>
---
 net/netlabel/netlabel_unlabeled.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netlabel/netlabel_unlabeled.c b/net/netlabel/netlabel_unlabeled.c
index 8490e46359ae..0555dffd80e0 100644
--- a/net/netlabel/netlabel_unlabeled.c
+++ b/net/netlabel/netlabel_unlabeled.c
@@ -885,7 +885,7 @@ static int netlbl_unlabel_staticadd(struct sk_buff *skb,
 
 	/* Don't allow users to add both IPv4 and IPv6 addresses for a
 	 * single entry.  However, allow users to create two entries, one each
-	 * for IPv4 and IPv4, with the same LSM security context which should
+	 * for IPv4 and IPv6, with the same LSM security context which should
 	 * achieve the same result. */
 	if (!info->attrs[NLBL_UNLABEL_A_SECCTX] ||
 	    !info->attrs[NLBL_UNLABEL_A_IFACE] ||
-- 
2.35.1

Re: [PATCH] netlabel: fix typo in comment

From: Paul Moore <paul@paul-moore.com>
Date: 2022-08-07 15:56:49

On Sat, Aug 6, 2022 at 6:13 AM Topi Miettinen [off-list ref] wrote:
'IPv4 and IPv4' should be 'IPv4 and IPv6'.

Signed-off-by: Topi Miettinen <redacted>
---
 net/netlabel/netlabel_unlabeled.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks for catching this.

Acked-by: Paul Moore <paul@paul-moore.com>

-- 
paul-moore.com

Re: [PATCH] netlabel: fix typo in comment

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-08-10 08:30:48

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Sat,  6 Aug 2022 13:12:53 +0300 you wrote:
'IPv4 and IPv4' should be 'IPv4 and IPv6'.

Signed-off-by: Topi Miettinen <redacted>
---
 net/netlabel/netlabel_unlabeled.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
  - netlabel: fix typo in comment
    https://git.kernel.org/netdev/net/c/2cd0e8dba7a5

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help