add
them to the log messages when the sync daemons started.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c | 28 ++--
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_s
Move the block testing result < 0 to avoid the test immediately
after setting result = 0
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/net/netfi
Optimise starting sync daemons by using the result of the first call to
__dev_get_by_name() and pass the result or ifindex to subsequent functions
to avoid them having to call __dev_get_by_name() again.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_
ing
inet6_bind() resolves the issue.
Fixes: d33288172e72 ("ipvs: add more mcast parameters for the sync daemon")
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --gi
Move the block testing result < 0 to avoid the test immediately
after setting result = 0
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/net/netfi
add
them to the log messages when the sync daemons started.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c | 28 ++--
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_s
Optimise starting sync daemons by using the result of the first call to
__dev_get_by_name() and pass the result or ifindex to subsequent functions
to avoid them having to call __dev_get_by_name() again.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_
ing
inet6_bind() resolves the issue.
Fixes: d33288172e72 ("ipvs: add more mcast parameters for the sync daemon")
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --gi
d to resolve coding style warnings, and all
pass with 0 errors, warnings and checks.
Patch 5 now becomes patch 4.
The changes have all been tested and work as expected.
Quentin Armitage (4):
ipvs: Enable setting IPv6 multicast address for ipvs
ipvs: Stop calling __dev_get_by_name() rep
issue.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
index 803001a..85b48f1 100644
--- a/net/netfilter/ip
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
When other settings are changed in the socket it is locked, so
lock the socket before setting SK_CAN_REUSE.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/netfilte
Optimise starting sync daemons by using the result of the first call to
__dev_get_by_name() and pass the result or ifindex to subsequent functions
to avoid them having to call __dev_get_by_name() again.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_
Move the block testing result < 0 to avoid the test immediately
after setting result = 0
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/net/netfi
hen the sync daemons started.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c | 26 ++
1 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
ind
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.
Quentin Armitage (5):
ipvs: Enable setting IPv6 multicast address for ipvs sync daemon
backup
ipvs
hen the sync daemons started.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c | 26 ++
1 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
ind
Move the block testing result < 0 to avoid the test immediately
after setting result = 0
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs
When other settings are changed in the socket it is locked, so
lock the socket before setting SK_CAN_REUSE.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/netfilte
Optimise starting sync daemons by using the result of the first call to
__dev_get_by_name() and pass the result or ifindex to subsequent functions
to avoid them having to call __dev_get_by_name() again.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_
issue.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/netfilter/ipvs/ip_vs_sync.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
index 803001a..85b48f1 100644
--- a/net/netfilter/ip
references to RTNH_F_PERVASIVE.
Although this will cause userspace applications that were using the
flag to fail to build, they will be alerted to the fact that using
RTNH_F_PERVASIVE was not achieving anything.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
include/uapi/linux/rt
that were using the
flag to fail to build, they will be alerted to the fact that using
RTNH_F_PERVASIVE was not achieving anything.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
include/uapi/linux/rtnetlink.h |2 +-
net/decnet/dn_fib.c|2 +-
ne
.1 encap ip6 id 0 src :: dst fe83::1 hoplimit 80 tc 100 dev eth0.2
scope link
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
net/ipv4/ip_tunnel_core.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ipv4/ip_tunnel_core.c b/net/ipv4/ip_tunn
24 matches
Mail list logo