netlabel: fix typo in comment
authorTopi Miettinen <toiwoton@gmail.com>
Sat, 6 Aug 2022 10:12:53 +0000 (13:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Aug 2022 08:24:41 +0000 (09:24 +0100)
'IPv4 and IPv4' should be 'IPv4 and IPv6'.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_unlabeled.c

index 8490e46359ae0a4eac91a1b54f46375c43fb0c08..0555dffd80e0533ad84cf9bb94cba37cfd0c3c61 100644 (file)
@@ -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] ||