Re: [PATCH net] ipv6: move stub initialization after ipv6 setup completion

2017-04-25 Thread David Miller
From: Paolo Abeni 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, pos

Re: [PATCH net] ipv6: move stub initialization after ipv6 setup completion

2017-04-24 Thread Cong Wang
On Mon, Apr 24, 2017 at 5:18 AM, Paolo Abeni wrote: > 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