summaryrefslogtreecommitdiff
path: root/net/rxrpc/local_object.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-11-29 15:37:37 +0300
committerDavid Howells <dhowells@redhat.com>2023-02-08 02:11:21 +0300
commita33395ab85b9b9cff83948a03a1d6d96347935d8 (patch)
tree0f30c05bce5ebda7051de51e88d4083412c0f1b1 /net/rxrpc/local_object.c
parent16d5677ef1041beee18b5709bf5759611ec82875 (diff)
downloadlinux-a33395ab85b9b9cff83948a03a1d6d96347935d8.tar.xz
rxrpc: Fix overwaking on call poking
If an rxrpc call is given a poke, it will get woken up unconditionally, even if there's already a poke pending (for which there will have been a wake) or if the call refcount has gone to 0. Fix this by only waking the call if it is still referenced and if it doesn't already have a poke pending. Fixes: 15f661dc95da ("rxrpc: Implement a mechanism to send an event notification to a call") Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
Diffstat (limited to 'net/rxrpc/local_object.c')
0 files changed, 0 insertions, 0 deletions