commit | 24b36f0193467fa727b85b4c004016a8dae999b9 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Mon Aug 02 16:49:01 2010 +0200 |
committer | Patrick McHardy <kaber@trash.net> | Mon Aug 02 16:49:01 2010 +0200 |
tree | d9518ed0ef2012fd14567d03b500295dfb7fe7e0 | |
parent | 7df0884ce144396fc151f2af7a73d5fb305f9b03 [diff] |
netfilter: {ip,ip6,arp}_tables: dont block bottom half more than necessary We currently disable BH for the whole duration of get_counters() On machines with a lot of cpus and large tables, this might be too long. We can disable preemption during the whole function, and disable BH only while fetching counters for the current cpu. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>