Skip to content

do not allow adding routes if disable_ipv6 is enabled

Lorenzo Bianconi netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- added an extack message telling the user that IPv6 is disabled on the nexthop device
- rebased on-top of net-next

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ipv6: do not set routes if disable_ipv6 has been enablednet/ipv6/route.c+6 -00 replies
2/2Documentation: ip-sysctl.txt: clarify disable_ipv6Documentation/networking/ip-sysctl.txt+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/2] do not allow adding routes if disable_ipv6 is enabled

Do not allow userspace to add static ipv6 routes if disable_ipv6 is enabled. Update disable_ipv6 documentation according to that change

Changes since v1:
- added an extack message telling the user that IPv6 is disabled on the nexthop device
- rebased on-top of net-next

Lorenzo Bianconi (2):
ipv6: do not set routes if disable_ipv6 has been enabled
Documentation: ip-sysctl.txt: clarify disable_ipv6

 Documentation/networking/ip-sysctl.txt | 4 +++-
 net/ipv6/route.c                       | 6 ++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
Signature · 1 line
2.14.3