]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix list_del of empty list
authorEli Cohen <eli@dev.mellanox.co.il>
Thu, 31 Oct 2013 13:26:33 +0000 (15:26 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 15 Nov 2013 22:36:35 +0000 (14:36 -0800)
commitd580f8cca9413fc37a9f2cdcfc824c0da117d0f0
tree9d66d199f81bb4d9b37a0802e97b0cacaca9b884
parente5e6861cb04a97166e97ed77ee176dc642d97a7d
IB/mlx5: Fix list_del of empty list

For archs with pages size of 4K, when the chunk is freed, fwp is not in the
list so avoid attempting to delete it.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c