From: Jakub Kicinski <k...@kernel.org>
Date: Mon, 28 Sep 2020 17:58:41 -0700

> Like all genl families ethtool_genl_family needs to not
> be a straight up constant, because it's modified/initialized
> by genl_register_family(). After init, however, it's only
> passed to genlmsg_put() & co. therefore we can mark it
> as __ro_after_init.
> 
> Since genl_family structure contains function pointers
> mark this as a fix.
> 
> Fixes: 2b4a8990b7df ("ethtool: introduce ethtool netlink interface")
> Signed-off-by: Jakub Kicinski <k...@kernel.org>

Applied.

Reply via email to