]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Loop over temp list to release delay events
authorHuy Nguyen <huyn@mellanox.com>
Mon, 30 Oct 2017 03:40:56 +0000 (22:40 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 10 Nov 2017 06:39:20 +0000 (15:39 +0900)
commitbcc99ed443982bab68ac7f5a5ecf8fed7423d2c3
tree3cae0980b4aec28ae12861b3ab83921e31c8bc7c
parent8bb89086b6b8853aaea3859ce3cdfd9463095856
net/mlx5: Loop over temp list to release delay events

list_splice_init initializing waiting_events_list after splicing it to
temp list, therefore we should loop over temp list to fire the events.

Fixes: 0eedbb17dfd0 ("net/mlx5: Delay events till mlx5 interface's add complete for pci resume")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/dev.c