From: Aaron Conole <aconole@redhat.com>
To: Eric Dumazet <edumazet@google.com>
Cc: "Stephen Hemminger" <stephen@networkplumber.org>,
dev@openvswitch.org, netdev@vger.kernel.org,
"Andrew Lunn" <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Eelco Chaudron" <echaudro@redhat.com>,
"Ilya Maximets" <i.maximets@ovn.org>,
"Adrián Moreno" <amorenoz@redhat.com>,
"Mike Pattrick" <mpattric@redhat.com>,
"Florian Westphal" <fw@strlen.de>,
"John Fastabend" <john.fastabend@gmail.com>,
"Jakub Sitnicki" <jakub@cloudflare.com>,
"Joe Stringer" <joe@ovn.org>
Subject: Re: [RFC] net: openvswitch: Inroduce a light-weight socket map concept.
Date: Mon, 30 Jun 2025 08:13:32 -0400 [thread overview]
Message-ID: <f7tecv1pgur.fsf@redhat.com> (raw)
In-Reply-To: <CANn89iK0C+cmhPsikuAztBjppkr6W1NF3mFn0Rh1Npb+yDgzHQ@mail.gmail.com> (Eric Dumazet's message of "Mon, 30 Jun 2025 03:07:54 -0700")
Eric Dumazet <edumazet@google.com> writes:
> On Fri, Jun 27, 2025 at 2:55 PM Stephen Hemminger
> <stephen@networkplumber.org> wrote:
>>
>> On Fri, 27 Jun 2025 17:00:54 -0400
>> Aaron Conole <aconole@redhat.com> wrote:
>>
>> > diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
>> > index 429fb34b075e..f43f905b1cb0 100644
>> > --- a/net/ipv4/tcp_ipv4.c
>> > +++ b/net/ipv4/tcp_ipv4.c
>> > @@ -93,6 +93,7 @@ static int tcp_v4_md5_hash_hdr(char *md5_hash,
>> > const struct tcp_md5sig_key *key,
>> > #endif
>> >
>> > struct inet_hashinfo tcp_hashinfo;
>> > +EXPORT_SYMBOL(tcp_hashinfo);
>>
>> EXPORT_SYMBOL_GPL seems better here
>
> Even better, not use tcp_hashinfo at all, it will break for netns
> having private hash tables.
>
> Instead use :
>
> struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo
Thanks Eric - I'll make sure to use that in future.
next prev parent reply other threads:[~2025-06-30 12:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-27 21:00 [RFC] net: openvswitch: Inroduce a light-weight socket map concept Aaron Conole
2025-06-27 21:55 ` Stephen Hemminger
2025-06-30 10:07 ` Eric Dumazet
2025-06-30 12:13 ` Aaron Conole [this message]
2025-06-30 12:13 ` Aaron Conole
2025-06-28 16:20 ` Cong Wang
2025-06-30 12:34 ` Aaron Conole
2025-07-10 9:18 ` Adrián Moreno
2025-07-04 14:22 ` Eelco Chaudron
2025-07-10 20:58 ` Aaron Conole
2025-07-10 9:35 ` Adrián Moreno
2025-07-10 21:07 ` Aaron Conole
2026-04-14 10:32 ` Minxi Hou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7tecv1pgur.fsf@redhat.com \
--to=aconole@redhat.com \
--cc=amorenoz@redhat.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=dev@openvswitch.org \
--cc=echaudro@redhat.com \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=i.maximets@ovn.org \
--cc=jakub@cloudflare.com \
--cc=joe@ovn.org \
--cc=john.fastabend@gmail.com \
--cc=kuba@kernel.org \
--cc=mpattric@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.