[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170425.114329.1246693615604825040.davem@davemloft.net>
Date: Tue, 25 Apr 2017 11:43:29 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, xiyou.wangcong@...il.com,
hannes@...essinduktion.org
Subject: Re: [PATCH net] ipv6: move stub initialization after ipv6 setup
completion
From: Paolo Abeni <pabeni@...hat.com>
Date: Mon, 24 Apr 2017 14:18:28 +0200
> The ipv6 stub pointer is currently initialized before the ipv6
> routing subsystem: a 3rd party can access and use such stub
> before the routing data is ready.
> Moreover, such pointer is not cleared in case of initialization
> error, possibly leading to dangling pointers usage.
>
> This change addresses the above moving the stub initialization
> at the end of ipv6 init code.
>
> Fixes: 5f81bd2e5d80 ("ipv6: export a stub for IPv6 symbols used by vxlan")
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied, thanks.
Powered by blists - more mailing lists