History

netfilter: nf_tables: Allow chain name of up to 255 chars

Same conversion as for table names, use NFT_NAME_MAXLEN as upper boundary as well.

Phil Sutter committed 9 years ago

Commit b7263e01 parent e46abbc4 files · +54 −13Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33
44 #define NFT_NAME_MAXLEN 256
55 #define NFT_TABLE_MAXNAMELEN NFT_NAME_MAXLEN
6−#define NFT_CHAIN_MAXNAMELEN 32
6+#define NFT_CHAIN_MAXNAMELEN NFT_NAME_MAXLEN
77 #define NFT_SET_MAXNAMELEN 32
88 #define NFT_OBJ_MAXNAMELEN 32
99 #define NFT_USERDATA_MAXLEN 256