summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2019-07-18 00:07:41 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2019-07-18 00:07:41 +0000
commit7bda80731ea9af5425659871bb95ad9087ceb161 (patch)
tree02ec9a13dbe30517490de18e504d48872734249d
parent3ae70462440bec2c1d86f19b255465adf0d39e03 (diff)
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>
-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,
},
{