]> 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)
commite5fa67f445fda94bb253dd15cfb1c294a8ab36b6
treeae8f78dbb84f1d445cb19ddd82a7d52a7e468e34
parent76a37573f85e5e6395301602d8a6de7786672a18
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