net/ipv6: Enforce limits for accept_unsolicited_na sysctl
authorArun Ajith S <aajith@arista.com>
Tue, 19 Apr 2022 10:59:10 +0000 (10:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Apr 2022 09:32:54 +0000 (10:32 +0100)
commitd09d3ec03f025fdc22e193277b30a7db20816d2b
tree4f089d238cff99c4bd5831874025ec75845335e8
parent1c604f91b7735a8d55ba56c8580b4b9276d6d7ab
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 <aajith@arista.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c