Skip to content

Commit

Permalink
netlabel: fix typo in comment
Browse files Browse the repository at this point in the history
'IPv4 and IPv4' should be 'IPv4 and IPv6'.

Signed-off-by: Topi Miettinen <[email protected]>
Acked-by: Paul Moore <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
topimiettinen authored and davem330 committed Aug 10, 2022
1 parent e7f1649 commit 2cd0e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netlabel/netlabel_unlabeled.c
Original file line number Diff line number Diff line change
Expand Up @@ -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] ||
Expand Down

0 comments on commit 2cd0e8d

Please sign in to comment.