netfilter: nf_tables: rise cap on SELinux secmark context
[ Upstream commit e29630247be24c3987e2b048f8e152771b32d38b ] secmark context is artificially limited 256 bytes, rise it to 4Kbytes. Fixes: fb961945457f ("netfilter: nf_tables: add SECMARK support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
155f901757
commit
1673b96b70
1 changed files with 1 additions and 1 deletions
|
@ -1284,7 +1284,7 @@ enum nft_secmark_attributes {
|
|||
#define NFTA_SECMARK_MAX (__NFTA_SECMARK_MAX - 1)
|
||||
|
||||
/* Max security context length */
|
||||
#define NFT_SECMARK_CTX_MAXLEN 256
|
||||
#define NFT_SECMARK_CTX_MAXLEN 4096
|
||||
|
||||
/**
|
||||
* enum nft_reject_types - nf_tables reject expression reject types
|
||||
|
|
Loading…
Reference in a new issue