Eric Dumazet
711bdde6a8
netfilter: x_tables: remove XT_TABLE_INFO_SZ and a dereference.
...
After Florian patches, there is no need for XT_TABLE_INFO_SZ anymore :
Only one copy of table is kept, instead of one copy per cpu.
We also can avoid a dereference if we put table data right after
xt_table_info. It reduces register pressure and helps compiler.
Then, we attempt a kmalloc() if total size is under order-3 allocation,
to reduce TLB pressure, as in many cases, rules fit in 32 KB.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2015-06-15 20:19:20 +02:00
..
2015-06-15 20:19:20 +02:00
2015-06-08 12:12:45 -07:00
2015-05-01 20:57:06 -04:00
2015-03-31 13:58:35 -04:00
2015-06-06 23:57:12 -07:00
2015-03-31 13:51:54 -04:00
2015-03-31 13:51:54 -04:00
2015-03-31 13:51:54 -04:00
2015-05-13 09:34:54 +02:00
2015-03-31 13:51:54 -04:00
2014-03-06 16:35:55 -05:00
2014-11-11 14:10:31 -05:00
2015-04-06 22:34:15 -04:00
2015-05-25 13:25:33 -04:00
2015-03-23 16:52:26 -04:00
2015-05-27 14:30:10 -04:00
2014-06-04 22:46:38 -07:00
2015-05-25 13:25:35 -04:00
2015-05-03 21:58:01 -04:00
2015-04-22 15:39:05 -04:00
2014-08-24 22:37:52 -07:00
2015-06-08 12:13:17 -07:00
2015-03-31 13:51:54 -04:00
2015-05-25 17:22:23 -04:00
2015-05-25 13:25:34 -04:00
2015-05-11 10:50:18 -04:00
2015-06-01 16:03:43 -07:00
2015-04-07 15:25:55 -04:00
2014-08-24 22:37:52 -07:00
2015-03-31 13:51:54 -04:00
2014-02-20 14:29:49 +01:00
2015-05-04 14:49:23 -04:00
2015-05-04 19:19:54 -04:00
2015-04-07 15:25:55 -04:00
2014-11-11 14:10:31 -05:00
2015-05-25 13:25:32 -04:00
2015-06-12 14:10:12 +02:00
2015-05-25 20:27:11 -04:00
2015-03-09 23:38:02 -04:00
2014-11-07 15:45:50 -05:00
2014-09-19 17:15:31 -04:00
2015-05-30 23:48:36 -07:00
2015-03-31 13:51:54 -04:00
2015-05-25 13:25:35 -04:00
2015-04-08 12:09:43 -04:00
2015-06-07 15:19:52 -07:00
2015-05-03 21:58:01 -04:00
2015-06-07 01:55:01 -07:00
2015-02-28 16:56:51 -05:00
2014-08-24 22:37:52 -07:00
2015-03-02 13:06:31 -05:00
2015-03-25 14:07:04 -04:00
2015-05-31 21:42:18 -07:00
2014-05-23 16:28:53 -04:00
2015-04-07 15:25:55 -04:00
2015-03-31 13:58:35 -04:00
2014-03-14 07:28:08 +01:00
2015-04-07 15:25:55 -04:00
2015-05-25 13:25:34 -04:00
2014-05-06 07:08:38 +02:00
2014-08-24 22:37:52 -07:00
2014-08-24 22:37:52 -07:00