summaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2020-09-02 15:16:59 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-03 00:44:53 +0200
commit05d4487197b2b71d5363623c28924fd58c71c0b6 (patch)
tree7c964c64be01432c6d377580f5b3de30a8b05e42 /net/tipc/socket.c
parentdrivers/net/wan/hdlc: Change the default of hard_header_len to 0 (diff)
downloadlinux-05d4487197b2b71d5363623c28924fd58c71c0b6.tar.xz
linux-05d4487197b2b71d5363623c28924fd58c71c0b6.zip
ipv6: Fix sysctl max for fib_multipath_hash_policy
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@nvidia.com> Reviewed-by: Stephen Suryaputra <ssuryaextr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions