diff options
author | Oleg Nesterov <oleg@redhat.com> | 2023-11-17 19:48:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-23 10:24:55 +0300 |
commit | 592d29eb6bd95781ea21cbb4a45a51260a98b009 (patch) | |
tree | c026fae55d24e2483df028a357de4a7626607a6e /fs | |
parent | f4a0b57632fa83cdd3791118690ab2ee0d8efe1f (diff) | |
download | linux-592d29eb6bd95781ea21cbb4a45a51260a98b009.tar.xz |
rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()
[ Upstream commit bad1a11c0f061aa073bab785389fe04f19ba02e1 ]
rxrpc_find_service_conn_rcu() should make the "seq" counter odd on the
second pass, otherwise read_seqbegin_or_lock() never takes the lock.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Link: https://lore.kernel.org/r/20231117164846.GA10410@redhat.com/
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions