]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: Add lock around mailbox ops to prevent simultaneous access
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 11 May 2012 08:33:06 +0000 (08:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 21 Jul 2012 23:03:25 +0000 (16:03 -0700)
commita9c65d8e3263e09a4fceecdf45e0b2700b475149
tree42f8c602fa09c548ae8ca36e966f9e4c13abb891
parent3d6ae68c231c5993cfeaf4e5be0babef6ca6f43e
ixgbevf: Add lock around mailbox ops to prevent simultaneous access

This change adds a spinlock around the mailbox accesses to prevent
simultaneous access to the mailboxes.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c