diff options
author | Oleg Nesterov <oleg@redhat.com> | 2023-11-17 17:48:46 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2023-12-24 15:22:49 +0000 |
commit | bad1a11c0f061aa073bab785389fe04f19ba02e1 (patch) | |
tree | 1b64827be5dea1969a6605913b127661d4990927 /fs | |
parent | df91b9dfdee23072641570b1efc049f19d839ae8 (diff) | |
download | linux-bad1a11c0f061aa073bab785389fe04f19ba02e1.tar.gz linux-bad1a11c0f061aa073bab785389fe04f19ba02e1.tar.bz2 linux-bad1a11c0f061aa073bab785389fe04f19ba02e1.zip |
rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()
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/
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions