commit | a1a56aaa0735c7821e85c37268a7c12e132415cb | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Jun 15 18:10:13 2015 -0700 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Jun 18 13:05:45 2015 +0200 |
tree | 2d8d0372fb798896d8a93aa1ba6d493bbb901026 | |
parent | 01555e74bde51444c6898ef1800fb2bc697d479e [diff] |
netfilter: x_tables: align per cpu xt_counter Let's force a 16 bytes alignment on xt_counter percpu allocations, so that bytes and packets sit in same cache line. xt_counter being exported to user space, we cannot add __align(16) on the structure itself. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Florian Westphal <fw@strlen.de> Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>