]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Avoid usage command work entry after writing command doorbell
authorIra Gusinsky <irenag@mellanox.com>
Thu, 2 Apr 2015 14:07:27 +0000 (17:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 20:33:41 +0000 (16:33 -0400)
commit867d56bb7b7803ad35820a90fe08f9f5369b99a2
tree8bfdc9ae335f89de7f7219a1273341d224d9733e
parente1d52ab8e387f9900fc49219997c1cf62d9a3fa6
net/mlx5_core: Avoid usage command work entry after writing command doorbell

Avoid usage of command work entry in cmd_work_handler since it can be released
by mlx5_cmd_invoke before the work handler returns to running.

Signed-off-by: Ira Gusinsky <irenag@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c