aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fs_struct.h
diff options
context:
space:
mode:
authorJoel Scherpelz <jscherpelz@google.com>2017-03-22 18:19:04 +0900
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:32:20 +0200
commitfa3af0dad074395f337e38b0659079e116dc66db (patch)
tree44231e3d44de31ae7ad4eb96ee8ab46da6bcb80f /include/linux/fs_struct.h
parent2f78e06636061d0b179c6bbf3b50051faec0f7aa (diff)
net: ipv6: Add sysctl for minimum prefix len acceptable in RIOs.
This commit adds a new sysctl accept_ra_rt_info_min_plen that defines the minimum acceptable prefix length of Route Information Options. The new sysctl is intended to be used together with accept_ra_rt_info_max_plen to configure a range of acceptable prefix lengths. It is useful to prevent misconfigurations from unintentionally blackholing too much of the IPv6 address space (e.g., home routers announcing RIOs for fc00::/7, which is incorrect). [backport of net-next bbea124bc99df968011e76eba105fe964a4eceab] Bug: 33333670 Test: net_test passes Signed-off-by: Joel Scherpelz <jscherpelz@google.com> Acked-by: Lorenzo Colitti <lorenzo@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/fs_struct.h')
0 files changed, 0 insertions, 0 deletions