]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: x_tables: small check_entry & module_refcount cleanup
authorDmitry Mishin <dim@openvz.org>
Wed, 20 Sep 2006 19:00:21 +0000 (12:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:19:51 +0000 (15:19 -0700)
commitc2708cfbb010b72d1d07af42d4e6507a913e9f43
tree5bc69de31502801f3526577775e90225a43a0ff2
parente284e714baa7badd583c7823187cf86db0d8f9ed
[NETFILTER]: x_tables: small check_entry & module_refcount cleanup

While standard_target has target->me == NULL, module_put() should be
called for it as for others, because there were try_module_get() before.

Signed-off-by: Dmitry Mishin <dim@openvz.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c