Skip to content

Commit f43d588

Browse files
author
Praveen Chaudhary
committed
Correct SYSCTL_ONE to one.
1 parent b714e69 commit f43d588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patch/kernel-ipv6-ra-metric-sysctl.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ index 07148b497..67b5ef45b 100644
8282
};
8383

8484
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
85-
index 627cd24b7..2c8be7d60 100644
85+
index 627cd24b7..fdddc5616 100644
8686
--- a/net/ipv6/addrconf.c
8787
+++ b/net/ipv6/addrconf.c
8888
@@ -209,6 +209,7 @@ static struct ipv6_devconf ipv6_devconf __read_mostly = {
@@ -119,7 +119,7 @@ index 627cd24b7..2c8be7d60 100644
119119
+ .maxlen = sizeof(u32),
120120
+ .mode = 0644,
121121
+ .proc_handler = proc_douintvec_minmax,
122-
+ .extra1 = SYSCTL_ONE,
122+
+ .extra1 = (void *)&one,
123123
+ },
124124
{
125125
.procname = "accept_ra_min_hop_limit",

0 commit comments

Comments
 (0)