ipv6: fix ip6_mr_init error path
authorBenjamin Thery <benjamin.thery@bull.net>
Tue, 11 Nov 2008 00:34:11 +0000 (16:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2008 00:34:11 +0000 (16:34 -0800)
commit87b30a6530218cde431a659f2c118cb72175507c
tree792683c82c1ddf7728698c68301cdaa67997bc8e
parent1207e795568a368928dfd23d6817e47f2e8097e3
ipv6: fix ip6_mr_init error path

The order of cleanup operations in the error/exit section of ip6_mr_init()
is completely inversed. It should be the other way around.
Also a del_timer() is missing in the error path.

Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c