[NETFILTER]: ip_tables: fix table locking in ipt_do_table
authorPatrick McHardy <kaber@trash.net>
Fri, 18 Aug 2006 01:13:53 +0000 (18:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Aug 2006 01:13:53 +0000 (18:13 -0700)
commit8311731afc439f508ab4d759edadedae75afb73e
treec1f63cd1d4e10b6a62c3a62e2407c998d9fbaec6
parentd205dc40798d97d63ad348bfaf7394f445d152d4
[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: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_tables.c