]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ip_tables: fix table locking in ipt_do_table
authorPatrick McHardy <kaber@trash.net>
Fri, 18 Aug 2006 05:52:57 +0000 (07:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Aug 2006 21:13:31 +0000 (14:13 -0700)
commit0872a284963a642ba748cbd75842138dd9a3bd00
treea93e022a0f782046b2ec19575b545da11df580dd
parent21fb3eb8606821cc654ee65ee28e18f4c43d47fa
ip_tables: fix table locking in ipt_do_table

[NETFILTER]: ip_tables: fix table locking in ipt_do_table

table->private might change because of ruleset changes, don't use it without
holding the lock.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c