Re: [PATCH v6 2/5] net/handshake: Define handshake_req_keyupdate
Hannes Reinecke <[email protected]>
| Newsgroups | dev.linux.lists.kernel-tls-handshake,org.infradead.lists.linux-nvme,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-nfs,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
On 12/2/25 02:34, [email protected] wrote: > From: Alistair Francis <[email protected]> > > 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 <[email protected]> > --- > v6: > - New patch > > net/handshake/handshake.h | 2 + > net/handshake/request.c | 95 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 97 insertions(+) > Reviewed-by: Hannes Reinecke <[email protected]> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect [email protected] +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