[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191205.124440.809438263678335744.davem@davemloft.net>
Date: Thu, 05 Dec 2019 12:44:40 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ap420073@...il.com
Cc: jon.maloy@...csson.com, ying.xue@...driver.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net] tipc: fix ordering of tipc module init and exit
routine
From: Taehee Yoo <ap420073@...il.com>
Date: Thu, 5 Dec 2019 16:37:04 +0000
> In order to set/get/dump, the tipc uses the generic netlink
> infrastructure. So, when tipc module is inserted, init function
> calls genl_register_family().
> After genl_register_family(), set/get/dump commands are immediately
> allowed and these callbacks internally use the net_generic.
> net_generic is allocated by register_pernet_device() but this
> is called after genl_register_family() in the __init function.
> So, these callbacks would use un-initialized net_generic.
...
Jon and other TIPC folks, please review.
Powered by blists - more mailing lists