]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Fri, 3 Feb 2012 01:19:39 +0000 (09:19 +0800)
commit4696809ac93c6957e85276b94e2ea0fc4a8d4306
treeeada56b7d8b7e9c85505118fde4339ea9c2801cb
parenta2278bece360fb6d2d73670df8600ab8c53b1ee2
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>
(cherry picked from commit 1fc5f0386461dcb3fcbda7a8bcac87f7a822bc56)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c