Re: [PATCH v2 net 3/7] tcp: resalt the secret every 10 seconds

From: Jason A. Donenfeld
Date: Fri Apr 29 2022 - 10:49:18 EST


On Thu, Apr 28, 2022 at 2:40 PM Willy Tarreau <w@xxxxxx> wrote:
> @@ -101,10 +103,12 @@ u64 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
> struct in6_addr saddr;
> struct in6_addr daddr;
> __be16 dport;
> + unsigned int timeseed;

Also, does the struct packing (or lack thereof) lead to problems here?
Uninitialized bytes might not make a stable hash.