diff options
| author | 2017-01-24 13:00:48 +0100 | |
|---|---|---|
| committer | 2017-01-24 16:14:58 -0500 | |
| commit | 35e22e49a5d6a741ebe7f2dd280b2052c3003ef7 (patch) | |
| tree | bfc74562fb8162e028d1ddf141ba908d620e53d4 /lib/netdev-notifier-error-inject.c | |
| parent | tipc: ignore requests when the connection state is not CONNECTED (diff) | |
| download | linux-dev-35e22e49a5d6a741ebe7f2dd280b2052c3003ef7.tar.xz linux-dev-35e22e49a5d6a741ebe7f2dd280b2052c3003ef7.zip | |
tipc: fix cleanup at module unload
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>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
