net/ipv6: Enforce limits for accept_unsolicited_na sysctl
Subsystems (3)
PATCH 1/1 net/ipv6: Enforce limits for accept_unsolicited_na sysctl
Fix mistake in the original patch where limits were specified but the handler didn't take care of the limits.
Signed-off-by Arun Ajith S <[email protected]>
--- net/ipv6/addrconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/addrconf.c +1 -1
@@ -7043,7 +7043,7 @@ static const struct ctl_table addrconf_sysctl[] = { .data = &ipv6_devconf.accept_unsolicited_na, .maxlen = sizeof(int), .mode = 0644, - .proc_handler = proc_dointvec, + .proc_handler = proc_dointvec_minmax, .extra1 = (void *)SYSCTL_ZERO, .extra2 = (void *)SYSCTL_ONE, },
Signature · 1 line
2.27.0
Quoted 8 lines · Arun Ajith S
Fix mistake in the original patch where limits were specified but the handler didn't take care of the limits.
Signed-off-by Arun Ajith S <[email protected]>--- net/ipv6/addrconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by David Ahern <[email protected]>
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Quoted 7 lines · On Tue, 19 Apr 2022 10:59:10 +0000 you wrote:
Fix mistake in the original patch where limits were specified but the handler didn't take care of the limits.
Signed-off-by Arun Ajith S <[email protected]>--- net/ipv6/addrconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net-next] net/ipv6: Enforce limits for accept_unsolicited_na sysctl
https://git.kernel.org/netdev/net-next/c/d09d3ec03f02
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html