diff options
| author | David Howells <[email protected]> | 2025-02-03 11:03:04 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-02-04 14:30:28 +0000 |
| commit | 4241a702e0d0c2ca9364cfac08dbf134264962de (patch) | |
| tree | 0e04f717423d4900614802597f2de3fae237b100 /scripts/rustdoc_test_gen.rs | |
| parent | net: harmonize tstats and dstats (diff) | |
| download | kernel-4241a702e0d0c2ca9364cfac08dbf134264962de.tar.gz kernel-4241a702e0d0c2ca9364cfac08dbf134264962de.zip | |
rxrpc: Fix the rxrpc_connection attend queue handling
The rxrpc_connection attend queue is never used because conn::attend_link
is never initialised and so is always NULL'd out and thus always appears to
be busy. This requires the following fix:
(1) Fix this the attend queue problem by initialising conn::attend_link.
And, consequently, two further fixes for things masked by the above bug:
(2) Fix rxrpc_input_conn_event() to handle being invoked with a NULL
sk_buff pointer - something that can now happen with the above change.
(3) Fix the RXRPC_SKB_MARK_SERVICE_CONN_SECURED message to carry a pointer
to the connection and a ref on it.
Signed-off-by: David Howells <[email protected]>
cc: Marc Dionne <[email protected]>
cc: Jakub Kicinski <[email protected]>
cc: "David S. Miller" <[email protected]>
cc: Eric Dumazet <[email protected]>
cc: Paolo Abeni <[email protected]>
cc: Simon Horman <[email protected]>
cc: [email protected]
cc: [email protected]
Fixes: f2cce89a074e ("rxrpc: Implement a mechanism to send an event notification to a connection")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions
