Home
last modified time | relevance | path

Searched hist:a33395ab (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/rxrpc/
H A Dcall_object.ca33395ab Tue Nov 29 06:37:37 CST 2022 David Howells <dhowells@redhat.com> 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