[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161109.201833.426669913716180780.davem@davemloft.net>
Date: Wed, 09 Nov 2016 20:18:33 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: minipli@...glemail.com
Cc: netdev@...r.kernel.org, jeffrey.t.kirsher@...el.com,
gregory.v.rose@...el.com
Subject: Re: [PATCH] rtnl: reset calcit fptr in rtnl_unregister()
From: Mathias Krause <minipli@...glemail.com>
Date: Mon, 7 Nov 2016 23:22:19 +0100
> To avoid having dangling function pointers left behind, reset calcit in
> rtnl_unregister(), too.
>
> This is no issue so far, as only the rtnl core registers a netlink
> handler with a calcit hook which won't be unregistered, but may become
> one if new code makes use of the calcit hook.
>
> Fixes: c7ac8679bec9 ("rtnetlink: Compute and store minimum ifinfo...")
> Cc: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> Cc: Greg Rose <gregory.v.rose@...el.com>
> Signed-off-by: Mathias Krause <minipli@...glemail.com>
Applied, thanks.
Powered by blists - more mailing lists