commit | dd4cbef7235154f163501ffbf396c0dadd830c9c | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Jan 09 02:42:11 2018 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Jan 10 15:32:10 2018 +0100 |
tree | 6b111b82fc5991876e976e8a4a70d3ee619f6b4a | |
parent | 36596dadf54a920d26286cf9f421fb4ef648b51f [diff] |
netfilter: nf_tables: get rid of pernet families Now that we have a single table list for each netns, we can get rid of one pointer per family and the global afinfo list, thus, shrinking struct netns for nftables that now becomes 64 bytes smaller. And call __nft_release_afinfo() from __net_exit path accordingly to release netnamespace objects on removal. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>