summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-07-07 18:59:02 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2019-07-08 21:55:15 +1000
commita84abf5a5d69401570161f1d5abdb7b782776279 (patch)
treefe171bfef42a1cb0d5f804313f39714ac37f55d1
parent6a3cfe866a52dc7f841cc88428547860892e6026 (diff)
downloadlinux-next-a84abf5a5d69401570161f1d5abdb7b782776279.tar.gz
proc-sysctl-add-shared-variables-for-range-check-fix-2-fix
fix net/ipv6/sysctl_net_ipv6.c Cc: Matteo Croce <mcroce@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--net/ipv6/sysctl_net_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c
index 57f520d1bf45..ec8fcfc60a27 100644
--- a/net/ipv6/sysctl_net_ipv6.c
+++ b/net/ipv6/sysctl_net_ipv6.c
@@ -113,7 +113,7 @@ static struct ctl_table ipv6_table_template[] = {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = proc_dointvec_minmax,
- .extra1 = &zero,
+ .extra1 = SYSCTL_ZERO,
.extra2 = &flowlabel_reflect_max,
},
{