[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200902.154549.1724506065958112316.davem@davemloft.net>
Date: Wed, 02 Sep 2020 15:45:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: idosch@...sch.org
Cc: netdev@...r.kernel.org, kuba@...nel.org, ssuryaextr@...il.com,
mlxsw@...dia.com, idosch@...dia.com
Subject: Re: [PATCH net] ipv6: Fix sysctl max for fib_multipath_hash_policy
From: Ido Schimmel <idosch@...sch.org>
Date: Wed, 2 Sep 2020 16:16:59 +0300
> From: Ido Schimmel <idosch@...dia.com>
>
> Cited commit added the possible value of '2', but it cannot be set. Fix
> it by adjusting the maximum value to '2'. This is consistent with the
> corresponding IPv4 sysctl.
>
> Before:
>
> # sysctl -w net.ipv6.fib_multipath_hash_policy=2
> sysctl: setting key "net.ipv6.fib_multipath_hash_policy": Invalid argument
> net.ipv6.fib_multipath_hash_policy = 2
> # sysctl net.ipv6.fib_multipath_hash_policy
> net.ipv6.fib_multipath_hash_policy = 0
>
> After:
>
> # sysctl -w net.ipv6.fib_multipath_hash_policy=2
> net.ipv6.fib_multipath_hash_policy = 2
> # sysctl net.ipv6.fib_multipath_hash_policy
> net.ipv6.fib_multipath_hash_policy = 2
>
> Fixes: d8f74f0975d8 ("ipv6: Support multipath hashing on inner IP pkts")
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
Wow, how was this mode even tested...
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists