]> err.no Git - linux-2.6/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)
commit90d47db4a06f93f7339618b2a4f0cb032ef8d6d5
tree5bc69de31502801f3526577775e90225a43a0ff2
parent9123de2c043996050bacf77031cad845f5976f5d
[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