]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc41d63745cc1c80ec254224be0b02f5429ae243c
treec1f63cd1d4e10b6a62c3a62e2407c998d9fbaec6
parent03bd75b24d5071b79b0dbe71ca5e7ea752eb9daa
[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