Thread (13 messages) 13 messages, 2 authors, 2022-08-30

Re: [PATCH v2 net-next 3/5] tcp: Access &tcp_hashinfo via net.

From: Eric Dumazet <edumazet@google.com>
Date: 2022-08-29 23:04:08

On Mon, Aug 29, 2022 at 9:20 AM Kuniyuki Iwashima [off-list ref] wrote:
We will soon introduce an optional per-netns ehash.

This means we cannot use tcp_hashinfo directly in most places.

Instead, access it via net->ipv4.tcp_death_row->hashinfo.

The access will be valid only while initialising tcp_hashinfo
itself and creating/destroying each netns.

Signed-off-by: Kuniyuki Iwashima <redacted>
---
 .../mellanox/mlx5/core/en_accel/ktls_rx.c     |  5 +-
 .../net/ethernet/netronome/nfp/crypto/tls.c   |  5 +-
I would probably omit changes in these two drivers, they look pure noise to me.

It is unfortunate enough that some drivers go deep in TCP stack, no need
to make your patches intrusive.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help