On Tue, Apr 13, 2021 at 04:15:21PM -0700, David Miller wrote:
> From: Balaev Pavel <balae...@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.
Thanks for advise, I will use it in next patch version.

Reply via email to