[NETFILTER]: x_tables: fix xt_register_table error propagation
commitda298d3a4f01dbc10c54da75d6b5717a99fb9cbc
authorPatrick McHardy <kaber@trash.net>
Tue, 27 Jun 2006 10:00:09 +0000 (27 03:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:57:40 +0000 (29 16:57 -0700)
treed6cbeec6c5252b17adefcdd401d4397301bfcd1f
parentbf7e8511088963078484132636839b59e25cf14f
[NETFILTER]: x_tables: fix xt_register_table error propagation

When xt_register_table fails the error is not properly propagated back.
Based on patch by Lepton Wu <ytht.net@gmail.com>.

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