]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a46ccd540066fde8b1abf579c268910961d3198
treefb7134dfebe6cd067613723a0ccc454f6bea55bb
parent2b8b9f48875797dc60fa10858500c57b663fff00
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: f3133506e603 ("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