Thread (22 messages) 22 messages, 4 authors, 2025-10-17

Re: [PATCH v3 2/8] net/handshake: Define handshake_sk_destruct_req

From: Simon Horman <horms@kernel.org>
Date: 2025-10-03 09:51:34
Also in: linux-doc, linux-nfs, linux-nvme, lkml

On Fri, Oct 03, 2025 at 02:31:33PM +1000, alistair23@gmail.com wrote:
From: Alistair Francis <redacted>

Define a `handshake_sk_destruct_req()` function to allow the destruction
of the handshake req.

This is required to avoid hash conflicts when handshake_req_hash_add()
is called as part of submitting the KeyUpdate request.

Signed-off-by: Alistair Francis <redacted>
---
v3:
 - New patch
Hi Alistair,

This is a not a proper review: I'll leave that to others.
But I notice that both Clang 21.1.1 and GCC 15.2.0, when run with
-Wunused-function, flag handshake_sk_descruct_req() as unused.
Which is the case until the following patch.

As both this and the following patch are small, and touch the same file,
I'm wondering if a simple approach is to squash the two patches into one.

Or perhaps no one cares. If so, sorry for the noise.

...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help