* [PATCH net-next] net/ipv6: Enforce limits for accept_unsolicited_na sysctl
@ 2022-04-19 10:59 Arun Ajith S
2022-04-19 20:04 ` David Ahern
2022-04-22 9:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Arun Ajith S @ 2022-04-19 10:59 UTC (permalink / raw)
To: netdev; +Cc: davem, linux-kernel, dsahern, yoshfuji, kuba, pabeni, aajith
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 <aajith@arista.com>
---
net/ipv6/addrconf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 6473dc84b71d..f01b8a3e1952 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -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,
},
--
2.27.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net/ipv6: Enforce limits for accept_unsolicited_na sysctl
2022-04-19 10:59 [PATCH net-next] net/ipv6: Enforce limits for accept_unsolicited_na sysctl Arun Ajith S
@ 2022-04-19 20:04 ` David Ahern
2022-04-22 9:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: David Ahern @ 2022-04-19 20:04 UTC (permalink / raw)
To: Arun Ajith S, netdev; +Cc: davem, linux-kernel, yoshfuji, kuba, pabeni
On 4/19/22 4:59 AM, Arun Ajith S 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 <aajith@arista.com>
> ---
> net/ipv6/addrconf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: David Ahern <dsahern@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net/ipv6: Enforce limits for accept_unsolicited_na sysctl
2022-04-19 10:59 [PATCH net-next] net/ipv6: Enforce limits for accept_unsolicited_na sysctl Arun Ajith S
2022-04-19 20:04 ` David Ahern
@ 2022-04-22 9:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-04-22 9:40 UTC (permalink / raw)
To: Arun Ajith S; +Cc: netdev, davem, linux-kernel, dsahern, yoshfuji, kuba, pabeni
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:
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 <aajith@arista.com>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-22 9:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 10:59 [PATCH net-next] net/ipv6: Enforce limits for accept_unsolicited_na sysctl Arun Ajith S
2022-04-19 20:04 ` David Ahern
2022-04-22 9:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).