[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170307.145754.1808918146000265149.davem@davemloft.net>
Date: Tue, 07 Mar 2017 14:57:54 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, andreyknvl@...gle.com
Subject: Re: [Patch net] ipv6: reorder icmpv6_init() and ip6_mr_init()
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Sun, 5 Mar 2017 12:34:53 -0800
> Andrey reported the following kernel crash:
...
> This is because net->ipv6.mr6_tables is not initialized at that point,
> ip6mr_rules_init() is not called yet, therefore on the error path when
> we iterator the list, we trigger this oops. Fix this by reordering
> ip6mr_rules_init() before icmpv6_sk_init().
>
> Reported-by: Andrey Konovalov <andreyknvl@...gle.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied, thanks.
Powered by blists - more mailing lists