ip_tables: fix table locking in ipt_do_table
commit8117018ce0f258c9189f6f3c29b0daf7a9942252
authorPatrick McHardy <kaber@trash.net>
Wed, 30 Aug 2006 15:25:57 +0000 (30 17:25 +0200)
committerAdrian Bunk <bunk@stusta.de>
Wed, 30 Aug 2006 15:25:57 +0000 (30 17:25 +0200)
tree9c0b93cba4c44b5d14a2cd84c165f430dae02668
parentd441c8439442d5a554285056b31389ebd3024353
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: Adrian Bunk <bunk@stusta.de>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c