[Intel-wired-lan] [PATCH net] iavf: fix double-release of rtnl_lock
Nguyen, Anthony L
anthony.l.nguyen at intel.com
Thu Dec 3 17:04:14 UTC 2020
On Wed, 2020-12-02 at 18:18 -0800, Jakub Kicinski wrote:
> This code does not jump to exit on an error in iavf_lan_add_device(),
> so the rtnl_unlock() from the normal path will follow.
>
> Fixes: b66c7bc1cd4d ("iavf: Refactor init state machine")
> Signed-off-by: Jakub Kicinski <kuba at kernel.org>
> ---
> drivers/net/ethernet/intel/iavf/iavf_main.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by: Tony Nguyen <anthony.l.nguyen at intel.com>
Did you want to apply this or did you want me to take it?
More information about the Intel-wired-lan
mailing list