mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
In tipc_server_stop(), we iterate over the connections with limiting factor as server's idr_in_use. We ignore the fact that this variable is decremented in tipc_close_conn(), leading to premature exit. In this commit, we iterate until the we have no connections left. Acked-by: Ying Xue <[email protected]> Acked-by: Jon Maloy <[email protected]> Tested-by: John Thompson <[email protected]> Signed-off-by: Parthasarathy Bhuvaragan <[email protected]> Signed-off-by: David S. Miller <[email protected]>