]> err.no Git - linux-2.6/commit
[NETFILTER]: {arp,ip,ip6}_tables: proper error recovery in init path
authorPatrick McHardy <kaber@trash.net>
Mon, 14 Aug 2006 01:57:28 +0000 (18:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2006 01:57:28 +0000 (18:57 -0700)
commit0eff66e625306a794ecba4b29ed12f7a147ce219
tree2f6cfe4d4c6305ccf1c0e942865e8753959a27a4
parent7ee66fcb94cb8be77d5f34cce7d315d11759f9c1
[NETFILTER]: {arp,ip,ip6}_tables: proper error recovery in init path

Neither of {arp,ip,ip6}_tables cleans up behind itself when something goes
wrong during initialization.

Noticed by Rennie deGraaf <degraaf@cpsc.ucalgary.ca>

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