ixgbevf: Add lock around ixgbevf_reinit_locked call
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 12 Jul 2016 01:29:56 +0000 (21:29 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Jul 2016 08:35:06 +0000 (01:35 -0700)
commit8e8247ab98315e096b812a68381ca812f0b0b5e3
tree81b84f063eade2cb3ca8340e194327b9b0978b77
parentabf76d76c5e716a0129180b8f464b1b293823adf
ixgbevf: Add lock around ixgbevf_reinit_locked call

The function ixgbevf_reinit_locked() assumes you have the rtnl lock
however we didn't when calling from the service task.  This patch
corrects that.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c