Re: [PATCH v6 2/5] net/handshake: Define handshake_req_keyupdate
From: Hannes Reinecke <hare@suse.de>
Date: 2025-12-02 15:34:23
Also in:
linux-doc, linux-nfs, linux-nvme, lkml
From: Hannes Reinecke <hare@suse.de>
Date: 2025-12-02 15:34:23
Also in:
linux-doc, linux-nfs, linux-nvme, lkml
On 12/2/25 02:34, alistair23@gmail.com wrote:
From: Alistair Francis <redacted> Add a new handshake_req_keyupdate() function which is similar to the existing handshake_req_submit(). The new handshake_req_keyupdate() does not add the request to the hash table (unlike handshake_req_submit()) but instead uses the existing request from the initial handshake. During the initial handshake handshake_req_submit() will add the request to the hash table. The request will not be removed from the hash table unless the socket is closed (reference count hits zero). After the initial handshake handshake_req_keyupdate() can be used to re-use the existing request in the hash table to trigger a KeyUpdate with userspace. Signed-off-by: Alistair Francis <redacted> --- v6: - New patch net/handshake/handshake.h | 2 + net/handshake/request.c | 95 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+)
Reviewed-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich