[NETFILTER]: arp_tables: fix table locking in arpt_do_table
authorPatrick McHardy <kaber@trash.net>
Mon, 21 Aug 2006 22:31:08 +0000 (15:31 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 22 Aug 2006 21:33:56 +0000 (14:33 -0700)
commite0b7cde9975e17a61b4511c7822803dfb7210011
treedf2f6669f5016fb3e9c8d089b0c6c850b6bc8a3e
parent2d8f613160ed303f5fe310f21bba334a4b074fa5
[NETFILTER]: arp_tables: fix table locking in arpt_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: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/arp_tables.c