[PATCH net 0/2] rxrpc: Miscellaneous fixes

David Howells
2025-02-03T11:03:20Z

Here some miscellaneous fixes for AF_RXRPC:

(1) Fix the state of a call to not treat the challenge-response cycle as
part of an incoming call's state set. The problem is that it makes
handling received of the final packet in the receive phase difficult
as that wants to change the call state - but security negotiations may
not yet be complete.

(2) Fix the queuing of connections seeking attention from offloaded ops
such as challenge/response. The problem was that the attention link
always seemed to be busy because it was never initialised from NULL.
This further masked two further bugs, also fixed in the patch.

David

---
The patches can be found here also:

http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-fixes

David Howells (2):
rxrpc: Fix call state set to not include the SERVER_SECURING state
rxrpc: Fix the rxrpc_connection attend queue handling

include/trace/events/rxrpc.h | 1 +
net/rxrpc/ar-internal.h | 2 +-
net/rxrpc/call_object.c | 6 ++----
net/rxrpc/conn_event.c | 21 +++++++++++----------
net/rxrpc/conn_object.c | 1 +
net/rxrpc/input.c | 4 ++--
net/rxrpc/sendmsg.c | 2 +-
7 files changed, 19 insertions(+), 18 deletions(-)