diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-12-03 03:18:06 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2020-12-17 23:12:55 +0100 |
commit | f1340265726e0edf8a8cef28e665b28ad6302ce9 (patch) | |
tree | 1ebc4d95aa9eb813369f9eec1f6b8f9aa8ece6bc /drivers/mtd/ubi/gluebi.c | |
parent | i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs (diff) | |
download | linux-f1340265726e0edf8a8cef28e665b28ad6302ce9.tar.xz linux-f1340265726e0edf8a8cef28e665b28ad6302ce9.zip |
iavf: fix double-release of rtnl_lock
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@kernel.org>
Reviewed-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/mtd/ubi/gluebi.c')
0 files changed, 0 insertions, 0 deletions