linux-stable-rt/net/ipv4/netfilter
Dmitry Mishin 920b868ae1 [NETFILTER]: ip_tables: compat code module refcounting fix
This patch fixes bug in iptables modules refcounting on compat error way.

As we are getting modules in check_compat_entry_size_and_hooks(), in case of
later error, we should put them all in translate_compat_table(), not  in the
compat_copy_entry_from_user() or compat_copy_match_from_user(), as it is now.

Signed-off-by: Dmitry Mishin <dim@openvz.org>
Acked-by: Vasily Averin <vvs@openvz.org>
Acked-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-10-30 15:24:47 -08:00
..
Kconfig
Makefile
arp_tables.c [NETFILTER]: Missed and reordered checks in {arp,ip,ip6}_tables 2006-10-30 15:24:44 -08:00
arpt_mangle.c
arptable_filter.c
ip_conntrack_amanda.c
ip_conntrack_core.c
ip_conntrack_ftp.c
ip_conntrack_helper_h323.c
ip_conntrack_helper_h323_asn1.c
ip_conntrack_helper_h323_types.c
ip_conntrack_helper_pptp.c
ip_conntrack_irc.c
ip_conntrack_netbios_ns.c
ip_conntrack_netlink.c [NETFILTER]: ctnetlink: Remove debugging messages 2006-10-15 23:14:11 -07:00
ip_conntrack_proto_generic.c
ip_conntrack_proto_gre.c
ip_conntrack_proto_icmp.c
ip_conntrack_proto_sctp.c
ip_conntrack_proto_tcp.c
ip_conntrack_proto_udp.c
ip_conntrack_sip.c
ip_conntrack_standalone.c
ip_conntrack_tftp.c
ip_nat_amanda.c
ip_nat_core.c
ip_nat_ftp.c
ip_nat_helper.c
ip_nat_helper_h323.c
ip_nat_helper_pptp.c
ip_nat_irc.c
ip_nat_proto_gre.c
ip_nat_proto_icmp.c
ip_nat_proto_tcp.c
ip_nat_proto_udp.c
ip_nat_proto_unknown.c
ip_nat_rule.c
ip_nat_sip.c
ip_nat_snmp_basic.c
ip_nat_standalone.c [NETFILTER]: add type parameter to ip_route_me_harder 2006-10-04 00:30:54 -07:00
ip_nat_tftp.c
ip_queue.c
ip_tables.c [NETFILTER]: ip_tables: compat code module refcounting fix 2006-10-30 15:24:47 -08:00
ipt_CLUSTERIP.c
ipt_ECN.c [NETFILTER]: ipt_ECN/ipt_TOS: fix incorrect checksum update 2006-10-15 23:14:08 -07:00
ipt_LOG.c
ipt_MASQUERADE.c
ipt_NETMAP.c
ipt_REDIRECT.c
ipt_REJECT.c [NETFILTER]: ipt_REJECT: remove largely duplicate route_reverse function 2006-10-04 00:30:56 -07:00
ipt_SAME.c
ipt_TCPMSS.c
ipt_TOS.c [NETFILTER]: ipt_ECN/ipt_TOS: fix incorrect checksum update 2006-10-15 23:14:08 -07:00
ipt_TTL.c
ipt_ULOG.c
ipt_addrtype.c
ipt_ah.c
ipt_ecn.c
ipt_hashlimit.c
ipt_iprange.c
ipt_owner.c
ipt_recent.c
ipt_tos.c
ipt_ttl.c
iptable_filter.c
iptable_mangle.c [NETFILTER]: add type parameter to ip_route_me_harder 2006-10-04 00:30:54 -07:00
iptable_raw.c
nf_conntrack_l3proto_ipv4.c
nf_conntrack_proto_icmp.c