Files
twx-linux/net/rxrpc
David Howells 002189a1e2 rxrpc: Fix overwaking on call poking
[ Upstream commit a33395ab85 ]

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: 15f661dc95 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:28:17 +01:00
..
2023-01-07 09:30:26 +00:00
2023-01-06 09:43:33 +00:00
2023-01-06 09:43:33 +00:00
2023-01-06 09:43:33 +00:00
2023-01-07 09:30:26 +00:00