diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2018-03-29 15:12:41 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-30 11:44:27 +0200 |
commit | 9ba5c404bf1d6284f0269411b33394362b7ff405 (patch) | |
tree | 2fff9032feace0c2ac68193dba5b61deede9b8c4 /net/ipv4/netfilter/arp_tables.c | |
parent | c47d36b3855d804b2e282f9b4eecbbd19b5453f9 (diff) | |
download | linux-9ba5c404bf1d6284f0269411b33394362b7ff405.tar.gz linux-9ba5c404bf1d6284f0269411b33394362b7ff405.tar.bz2 linux-9ba5c404bf1d6284f0269411b33394362b7ff405.zip |
netfilter: x_tables: Add note about how to free percpu counters
Due to the way percpu counters are allocated and freed in blocks,
it is not safe to free counters individually. Currently all callers
do the right thing, but let's note this restriction.
Fixes: ae0ac0ed6fcf ("netfilter: x_tables: pack percpu counter allocations")
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/netfilter/arp_tables.c')
0 files changed, 0 insertions, 0 deletions