[acassen/keepalived] a77b8f: Clear /proc/sys/net/ipv6/conf/IF/disable_ipv6 when...

Quentin Armitage <[email protected]> Sat, 24 Feb 2018 04:24:44 -0800
Newsgroups gmane.linux.keepalived.devel
Message-ID <5a91598c5b63d_71ae2aff60999c1c17561@hookshot-fe-6e9b612.cp1-iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: a77b8f6a08006cc2255cc182e8b5da78ccb1faf7
      https://github.com/acassen/keepalived/commit/a77b8f6a08006cc2255cc182e8b5da78ccb1faf7
  Author: Quentin Armitage <[email protected]>
  Date:   2018-02-24 (Sat, 24 Feb 2018)

  Changed paths:
    M keepalived/include/vrrp_if_config.h
    M keepalived/vrrp/vrrp_if_config.c
    M keepalived/vrrp/vrrp_vmac.c

  Log Message:
  -----------
  Clear /proc/sys/net/ipv6/conf/IF/disable_ipv6 when create VMACs

An issue was identified where keepalived was reporting permission
denied when attempting to add an IPv6 address to a VMAC interface.
It turned out that this was because
/proc/sys/net/ipv6/conf/default/disable_ipv6
was set to 1, causing IPv6 to be disables on all interfaces that
keepalived created.

This commit clears disable_ipv6 on any VMAC interfaces that
keepalived creates if the vrrp instance is using IPv6.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 6a2987eba52570b253615c8fb2f0cb81d3c4d63f
      https://github.com/acassen/keepalived/commit/6a2987eba52570b253615c8fb2f0cb81d3c4d63f
  Author: Quentin Armitage <[email protected]>
  Date:   2018-02-24 (Sat, 24 Feb 2018)

  Changed paths:
    M keepalived/include/vrrp_if_config.h
    M keepalived/vrrp/vrrp_if_config.c
    M keepalived/vrrp/vrrp_vmac.c

  Log Message:
  -----------
  Merge pull request #786 from pqarmitage/fixes

Clear /proc/sys/net/ipv6/conf/IF/disable_ipv6 when create VMACs


Compare: https://github.com/acassen/keepalived/compare/76c9c60bc199...6a2987eba525

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel