]> 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)
commita8df3916b4ed64fd71a9095a3e15e347de6cb4aa
treefb7134dfebe6cd067613723a0ccc454f6bea55bb
parent75504db7f3ba1d17ad039aee1124fcff37e2a6b9
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: b92e7b804746 ("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