[PATCH v2 0/5] ipvs: fix backup sync daemon with IPv6, and minor updates

From: Quentin Armitage
Date: Tue Jun 14 2016 - 10:24:51 EST


This series of patches arise from discovering that:
ipvsadm --start-daemon backup --mcast-group IPv6_address ...
would always fail.

The first patch resolves the problem. The second and third patches are
optimizations that were noticed while investigating the original problem.
The fourth patch adds a lock which appears to have been omitted, and the
final patch adds the recently added sync daemon multicast parameters to
the log messages that are written when the sync daemons start.

v2 fixes a compile error in a debug message identified by kbuild test robot.
Now compiles with CONFIG_IP_VS_DEBUG enabled. Patch 2/5 is modified to correct
the problem, and patch 3/5 is modifed to apply with the modified patch 2/5.

Quentin Armitage (5):
ipvs: Enable setting IPv6 multicast address for ipvs sync daemon
backup
ipvs: Stop calling __dev_get_by_name() repeatedly when starting sync
daemon
ipvs: Don't check result < 0 after setting result = 0
ipvs: Lock socket before setting SK_CAN_REUSE
ipvs: log additional sync daemon parameters

net/netfilter/ipvs/ip_vs_sync.c | 104 +++++++++++++++++++-------------------
1 files changed, 52 insertions(+), 52 deletions(-)

--
1.7.7.6