]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - include/net/netfilter/nf_tables.h
netfilter: nf_tables: Allow chain name of up to 255 chars
[mirror_ubuntu-hirsute-kernel.git] / include / net / netfilter / nf_tables.h
index 05ecf78ec078740d5a590f545bfb23af3d935f76..be1610162ee02818dfa85033ceffbd1fca3d964b 100644 (file)
@@ -859,7 +859,7 @@ struct nft_chain {
        u16                             level;
        u8                              flags:6,
                                        genmask:2;
-       char                            name[NFT_CHAIN_MAXNAMELEN];
+       char                            *name;
 };
 
 enum nft_chain_type {
@@ -1272,7 +1272,7 @@ struct nft_trans_set {
 
 struct nft_trans_chain {
        bool                            update;
-       char                            name[NFT_CHAIN_MAXNAMELEN];
+       char                            *name;
        struct nft_stats __percpu       *stats;
        u8                              policy;
 };