]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit613b93aca1ebfb4fd751e14150a4141433c99b9e
tree792683c82c1ddf7728698c68301cdaa67997bc8e
parentac3159f2dddf42185526acb456998aa64760c7a6
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