Keepalived (an implementation of VRRP) has the ability to add ip routes,
so add RTPROTO_KEEPALIVED to userspace visible header file.
Signed-off-by: Quentin Armitage <quen...@armitage.org.uk>
---
include/uapi/linux/rtnetlink.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff
Keepalived (an implementation of VRRP) has the ability to add ip routes,
so add RTPROTO_KEEPALIVED to userspace visible header file.
Signed-off-by: Quentin Armitage
---
include/uapi/linux/rtnetlink.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/uapi/linux
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_
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
---
net/netfilter/ipvs/ip_vs_sync.c | 60
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
add
them to the log messages when the sync daemons started.
Signed-off-by: Quentin Armitage
---
net/netfilter/ipvs/ip_vs_sync.c | 28 ++--
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
in
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
Move the block testing result < 0 to avoid the test immediately
after setting result = 0
Signed-off-by: Quentin Armitage
---
net/netfilter/ipvs/ip_vs_sync.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/i
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
ing
inet6_bind() resolves the issue.
Fixes: d33288172e72 ("ipvs: add more mcast parameters for the sync daemon")
Signed-off-by: Quentin Armitage
---
net/netfilter/ipvs/ip_vs_sync.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/net/netfilter/ipv
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
Move the block testing result < 0 to avoid the test immediately
after setting result = 0
Signed-off-by: Quentin Armitage
---
net/netfilter/ipvs/ip_vs_sync.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/i
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
add
them to the log messages when the sync daemons started.
Signed-off-by: Quentin Armitage
---
net/netfilter/ipvs/ip_vs_sync.c | 28 ++--
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
in
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
ing
inet6_bind() resolves the issue.
Fixes: d33288172e72 ("ipvs: add more mcast parameters for the sync daemon")
Signed-off-by: Quentin Armitage
---
net/netfilter/ipvs/ip_vs_sync.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/net/netfilter/ipv
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_
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
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
---
net/netfilter/ipvs/ip_vs_sync.c | 60
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
issue.
Signed-off-by: Quentin Armitage
---
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/ipvs/ip_vs_sync.c
+++ b
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
hen the sync daemons started.
Signed-off-by: Quentin Armitage
---
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
index 734335a..bb59b84 100644
---
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_
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
---
net/netfilter/ipvs/ip_vs_sync.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net
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
---
net/netfilter/ipvs/ip_vs_sync.c | 59
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
Move the block testing result < 0 to avoid the test immediately
after setting result = 0
Signed-off-by: Quentin Armitage
---
net/netfilter/ipvs/ip_vs_sync.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/i
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
hen the sync daemons started.
Signed-off-by: Quentin Armitage
---
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
index dfac9ef..e5f6739 100644
---
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
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
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
Move the block testing result < 0 to avoid the test immediately
after setting result = 0
Signed-off-by: Quentin Armitage
---
net/netfilter/ipvs/ip_vs_sync.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/i
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
issue.
Signed-off-by: Quentin Armitage
---
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/ipvs/ip_vs_sync.c
+++ b
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_
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
---
net/netfilter/ipvs/ip_vs_sync.c | 66
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
---
net/netfilter/ipvs/ip_vs_sync.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net
the filter to be applied, although no filtering will currently be occurring.
Signed-off-by: Quentin Armitage
---
v2: * Fixed subject line
v3: * Fix space/tab formatting. With apologies to all concerned.
---
net/ipv4/raw.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git
to be applied, although no filtering will currently be occurring.
Signed-off-by: Quentin Armitage quen...@armitage.org.uk
---
v2: * Fixed subject line
v3: * Fix space/tab formatting. With apologies to all concerned.
---
net/ipv4/raw.c |5 -
1 files changed, 4 insertions(+), 1 deletions
the filter to be applied, although no filtering will currently be occurring.
Signed-off-by: Quentin Armitage
---
v2: * Fixed subject line
---
net/ipv4/raw.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 2c65160..2e1628c 100644
---
to be applied, although no filtering will currently be occurring.
Signed-off-by: Quentin Armitage quen...@armitage.org.uk
---
v2: * Fixed subject line
---
net/ipv4/raw.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 2c65160..2e1628c
On Sun, 2014-07-20 at 21:27 -0700, David Miller wrote:
> From: Quentin Armitage
> Date: Fri, 18 Jul 2014 17:38:23 +0100
>
> Currently, although IP_MULTICAST_ALL and IP_MSFILTER ioctl calls succeed on
> raw sockets, there is no code to implement the functionality on received
> p
On Sun, 2014-07-20 at 21:27 -0700, David Miller wrote:
From: Quentin Armitage quen...@armitage.org.uk
Date: Fri, 18 Jul 2014 17:38:23 +0100
Currently, although IP_MULTICAST_ALL and IP_MSFILTER ioctl calls succeed on
raw sockets, there is no code to implement the functionality on received
the filter to be applied, although no filtering will currently be occurring.
Signed-off-by: Quentin Armitage
---
net/ipv4/raw.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 2c65160..2e1628c 100644
--- a/net/ipv4/raw.c
+++ b/net/
to be applied, although no filtering will currently be occurring.
Signed-off-by: Quentin Armitage quen...@armitage.org.uk
---
net/ipv4/raw.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 2c65160..2e1628c 100644
--- a/net/ipv4/raw.c
hereas all the other changes were ARCH_KIRKWOOD ||
MACH_KIRKWOOD.
As a consequence of this change, the cpufreq driver is no longer enabled
for ARCH_KIRKWOOD. This patch reinstates ARM_KIRKWOOD_CPUFREQ for
ARCH_KIRKWOOD.
Signed-off-by: Quentin Armitage
---
diff --git a/drivers/cpufreq/Kconfig.arm
the other changes were ARCH_KIRKWOOD ||
MACH_KIRKWOOD.
As a consequence of this change, the cpufreq driver is no longer enabled
for ARCH_KIRKWOOD. This patch reinstates ARM_KIRKWOOD_CPUFREQ for
ARCH_KIRKWOOD.
Signed-off-by: Quentin Armitage quen...@armitage.org.uk
---
diff --git a/drivers/cpufreq
page 658.
Also see definition of XOR1_HIGH_PHYS_BASE in
arch/arm/mach-kirkwood/include/mach/kirkwood.h
#define XOR1_HIGH_PHYS_BASE(KIRKWOOD_REGS_PHYS_BASE + 0x60B00)
Signed-off-by: Quentin Armitage
---
arch/arm/boot/dts/kirkwood.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion
page 658.
Also see definition of XOR1_HIGH_PHYS_BASE in
arch/arm/mach-kirkwood/include/mach/kirkwood.h
#define XOR1_HIGH_PHYS_BASE(KIRKWOOD_REGS_PHYS_BASE + 0x60B00)
Signed-off-by: Quentin Armitage quen...@armitage.org.uk
---
arch/arm/boot/dts/kirkwood.dtsi | 2 +-
1 file changed, 1
56 matches
Mail list logo