[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210413.161521.2301224176572441397.davem@davemloft.net>
Date: Tue, 13 Apr 2021 16:15:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: balaevpa@...otecs.ru
Cc: netdev@...r.kernel.org, christophe.jaillet@...adoo.fr,
kuba@...nel.org, yoshfuji@...ux-ipv6.org, dsahern@...nel.org
Subject: Re: [PATCH v3 net-next] net: multipath routing: configurable seed
From: Balaev Pavel <balaevpa@...otecs.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.
Powered by blists - more mailing lists