fm10k: Unlock mailbox on VLAN addition failures
authorMatthew Vick <[email protected]>
Fri, 3 Oct 2014 00:43:35 +0000 (00:43 +0000)
committerJeff Kirsher <[email protected]>
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 <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c