]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: Unlock mailbox on VLAN addition failures
authorMatthew Vick <matthew.vick@intel.com>
Fri, 3 Oct 2014 00:43:35 +0000 (00:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 16 Oct 2014 08:55:31 +0000 (01:55 -0700)
commitd7f0628639d9c05d1264bc303015673a82ebec5d
treeae8f78dbb84f1d445cb19ddd82a7d52a7e468e34
parent8af51c57bb654a75970d6ac71c12a820b30df5c5
fm10k: Unlock mailbox on VLAN addition failures

After grabbing the mailbox lock and detecting an error, the lock must be
released before the error code can be returned.

Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c