Files
linux/net/tipc
Parthasarathy Bhuvaragan aad54ba21d tipc: fix cleanup at module unload
[ Upstream commit 35e22e49a5 ]

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 <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Tested-by: John Thompson <thompa.atl@gmail.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-09 22:01:53 +01:00
..
2015-05-14 12:24:45 -04:00
2016-12-02 14:03:20 -05:00
2016-12-02 14:03:20 -05:00
2016-06-15 14:06:28 -07:00
2016-06-15 14:06:28 -07:00
2015-03-05 22:08:42 -05:00
2016-07-26 14:26:42 -07:00
2017-06-17 06:41:49 +02:00
2016-08-18 23:36:07 -07:00
2017-08-30 10:21:41 +02:00
2017-12-09 22:01:53 +01:00
2016-12-02 14:03:20 -05:00