Re: [PATCH net v2] net/tcp: Disable TCP-AO static key after RCU grace period
From: Jakub Kicinski
Date: Tue Jul 30 2024 - 21:37:12 EST
On Tue, 30 Jul 2024 01:33:17 +0100 Dmitry Safonov via B4 Relay wrote:
> + struct hlist_node *n;
> +
> + hlist_for_each_entry_safe(key, n, &ao->head, node)
> + total_ao_sk_mem += tcp_ao_sizeof_key(key);
nit:
s/_safe//
no need to safely iterate if we're not modifying the list
--
pw-bot: cr