rxrpc: Fix bundle counting for exclusive connections
authorDavid Howells <dhowells@redhat.com>
Tue, 29 Sep 2020 21:29:44 +0000 (22:29 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 15 Oct 2020 12:28:00 +0000 (13:28 +0100)
commitf3af4ad1e08a8a9e61878b9f72751a5b76b3baf9
treefb7134dfebe6cd067613723a0ccc454f6bea55bb
parentd25e2e9388eda61b6e298585024ee3355f50c493
rxrpc: Fix bundle counting for exclusive connections

Fix rxrpc_unbundle_conn() to not drop the bundle usage count when cleaning
up an exclusive connection.

Based on the suggested fix from Hillf Danton.

Fixes: 245500d853e9 ("rxrpc: Rewrite the client connection manager")
Reported-by: syzbot+d57aaf84dd8a550e6d91@syzkaller.appspotmail.com
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Hillf Danton <hdanton@sina.com>
net/rxrpc/conn_client.c