From: David Miller <davem@davemloft.net>
To: balaevpa@infotecs.ru
Cc: netdev@vger.kernel.org, christophe.jaillet@wanadoo.fr,
kuba@kernel.org, yoshfuji@linux-ipv6.org, dsahern@kernel.org
Subject: Re: [PATCH v3 net-next] net: multipath routing: configurable seed
Date: Tue, 13 Apr 2021 16:15:21 -0700 (PDT) [thread overview]
Message-ID: <20210413.161521.2301224176572441397.davem@davemloft.net> (raw)
In-Reply-To: <YHWGmPmvpQAT3BcV@rnd>
From: Balaev Pavel <balaevpa@infotecs.ru>
Date: Tue, 13 Apr 2021 14:55:04 +0300
> @@ -222,6 +230,9 @@ struct netns_ipv4 {
> #ifdef CONFIG_IP_ROUTE_MULTIPATH
> u8 sysctl_fib_multipath_use_neigh;
> u8 sysctl_fib_multipath_hash_policy;
> + int sysctl_fib_multipath_hash_seed;
> + struct multipath_seed_ctx __rcu *fib_multipath_hash_seed_ctx;
> + spinlock_t fib_multipath_hash_seed_ctx_lock;
Maybe use the rtnl mutex instead of this custom spinlock?
Thanks.
next prev parent reply other threads:[~2021-04-13 23:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-13 11:55 [PATCH v3 net-next] net: multipath routing: configurable seed Balaev Pavel
2021-04-13 23:15 ` David Miller [this message]
2021-04-14 7:45 ` Pavel Balaev
2021-04-14 3:28 ` David Ahern
2021-04-14 7:33 ` Pavel Balaev
2021-04-15 3:24 ` David Ahern
2021-04-15 8:20 ` Pavel Balaev
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=20210413.161521.2301224176572441397.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=balaevpa@infotecs.ru \
--cc=christophe.jaillet@wanadoo.fr \
--cc=dsahern@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).