From: Tariq Toukan <tar...@mellanox.com> Date: Mon, 25 Jul 2016 15:42:13 +0300
> From: Alex Vesker <va...@mellanox.com> > > 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 > adapters") > Signed-off-by: Alex Vesker <va...@mellanox.com> > Signed-off-by: Tariq Toukan <tar...@mellanox.com> Applied.