]> git.baikalelectronics.ru Git - kernel.git/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)
commite696847d9e913f6333d6402980724d472d75e41a
tree2f6cfe4d4c6305ccf1c0e942865e8753959a27a4
parente2b9dddce44bf8c65636fff5d9039c4ed9a11fad
[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