Stephen Hemminger a écrit :This version of x_tables (ip/ip6/arp) locking uses a per-cpuI like this version 8 of the patch, as it mixes all ideas we had,
recursive lock that can be nested. It is sort of like existing kernel_lock,
rwlock_t and even old 2.4 brlock.
...
but have two questions.
Previous netfilter code (and 2.6.30-rc2 one too) disable BH, not only preemption.
I see xt_table_info_lock_all(void) does block BH, so this one is safe.
I let Patrick or other tell us if its safe to run ipt_do_table()
with preemption disabled but BH enabled, I really dont know.