netlabel: fix typo in comment

'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>
This commit is contained in:
Topi Miettinen 2022-08-06 13:12:53 +03:00 committed by David S. Miller
parent e7f164955f
commit 2cd0e8dba7
1 changed files with 1 additions and 1 deletions

View 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 /* Don't allow users to add both IPv4 and IPv6 addresses for a
* single entry. However, allow users to create two entries, one each * 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. */ * achieve the same result. */
if (!info->attrs[NLBL_UNLABEL_A_SECCTX] || if (!info->attrs[NLBL_UNLABEL_A_SECCTX] ||
!info->attrs[NLBL_UNLABEL_A_IFACE] || !info->attrs[NLBL_UNLABEL_A_IFACE] ||