net/mlx5e: Fixed sleeping inside atomic context
authorAviad Yehezkel <aviadye@mellanox.com>
Sun, 28 Jan 2018 15:25:35 +0000 (17:25 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 7 Mar 2018 06:06:09 +0000 (22:06 -0800)
commitdc7debec07803f52d04dbd98d8047cae04dfe8ec
treee901f076fec4c4999e3e862131ac3cee22e7051d
parentef927a9c168722c4ab5e40838d7fe6b63f978763
net/mlx5e: Fixed sleeping inside atomic context

We can't allocate with GFP_KERNEL inside spinlock.
Actually ida_simple doesn't require spinlock so remove it.

Fixes: 547eede070eb ("net/mlx5e: IPSec, Innova IPSec offload infrastructure")
Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c