OSDN Git Service

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)
commit13cb2dad45cc8c8e350abc84de38449b89629c3c
treeae8f78dbb84f1d445cb19ddd82a7d52a7e468e34
parent4d4191566fdd0e8990b2e8ab5ae819227c92892f
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