Staging
v0.5.1
https://github.com/torvalds/linux
Revision ca749bbb108c24a876014c804f9777c545be4d59 authored by Marcelo Ricardo Leitner on 18 November 2019, 12:46:09 UTC, committed by David S. Miller on 19 November 2019, 01:25:36 UTC
Commit eec4844fae7c ("proc/sysctl: add shared variables for range
check") did:
-               .extra2         = &two,
+               .extra2         = SYSCTL_ONE,
here, which doesn't seem to be intentional, given the changelog.
This patch restores it to the previous, as the value of 2 still makes
sense (used in fib_multipath_hash()).

Fixes: eec4844fae7c ("proc/sysctl: add shared variables for range check")
Cc: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 39c68b3
History
Tip revision: ca749bbb108c24a876014c804f9777c545be4d59 authored by Marcelo Ricardo Leitner on 18 November 2019, 12:46:09 UTC
net/ipv4: fix sysctl max for fib_multipath_hash_policy
Tip revision: ca749bb
File Mode Size
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 6.1 KB
mq_sysctl.c -rw-r--r-- 2.7 KB
mqueue.c -rw-r--r-- 40.3 KB
msg.c -rw-r--r-- 30.5 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.6 KB
sem.c -rw-r--r-- 62.1 KB
shm.c -rw-r--r-- 43.0 KB
syscall.c -rw-r--r-- 5.1 KB
util.c -rw-r--r-- 22.8 KB
util.h -rw-r--r-- 8.7 KB

back to top