Re: [PATCH net] net/mlx4_core: Check device state before unregistering it

2016-07-25 Thread David Miller
From: Tariq Toukan Date: Mon, 25 Jul 2016 15:42:13 +0300 > From: Alex Vesker > > Verify that the device state is registered before un-registering it. > This check is required to prevent an OOPS on flows that do > re-registration of the device and its previous state was > unregistered. > > Fixe

[PATCH net] net/mlx4_core: Check device state before unregistering it

2016-07-25 Thread Tariq Toukan
From: Alex Vesker Verify that the device state is registered before un-registering it. This check is required to prevent an OOPS on flows that do re-registration of the device and its previous state was unregistered. Fixes: 225c7b1feef1 ("IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapt