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
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