ixgbe: Make certain to initialize the fdir_perfect_lock in all cases
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 2 Jun 2011 04:28:39 +0000 (04:28 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 12 Jul 2011 01:43:20 +0000 (18:43 -0700)
commit1fc5f0386461dcb3fcbda7a8bcac87f7a822bc56
tree48245d628b14591500b70501227cc47bc3b87b46
parent2c670b5bd794ef93c81bf8797b7d6393c8453fc6
ixgbe: Make certain to initialize the fdir_perfect_lock in all cases

This fix makes it so that the fdir_perfect_lock is initialized in all
cases.  This is necessary as the fdir_filter_exit routine will always
attempt to take the lock before inspecting the filter table.

Reported-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_main.c