On Tue, Jan 9, 2018 at 10:21 AM, Ben Hutchings <ben.hutchi...@codethink.co.uk> wrote: > Commit 15e668070a64 reordered the initialisation in inet6_init() to > fix a crash on an error path further down the call stack. It also > reordered cleanup on the error path in inet6_init(), but the result > is not the reverse of the initialisation order. This presumably > can result in a resource leak or crash in some error cases. Reorder > cleanup again to fix this. > > Fixes: 15e668070a64 ("ipv6: reorder icmpv6_init() and ip6_mr_init()") > Signed-off-by: Ben Hutchings <ben.hutchi...@codethink.co.uk>
Acked-by: Cong Wang <xiyou.wangc...@gmail.com>