16 Feb, 2011
1 commit
-
When IP_VS schedulers do not find a destination, they output a terse
"WLC: no destination available" message through kernel syslog, which I
can not only make sense of because syslog puts them in a logfile
together with keepalived checker results.This patch makes the output a bit more informative, by telling you which
virtual service failed to find a destination.Example output:
kernel: [1539214.552233] IPVS: wlc: TCP 192.168.8.30:22 - no destination available
kernel: [1539299.674418] IPVS: wlc: FWM 22 0x00000016 - no destination availableI have tested the code for IPv4 and FWM services, as you can see from
the example; I do not have an IPv6 setup to test the third code path
with.To avoid code duplication, I put a new function ip_vs_scheduler_err()
into ip_vs_sched.c, and use that from the schedulers instead of calling
IP_VS_ERR_RL directly.Signed-off-by: Patrick Schaaf
Signed-off-by: Simon Horman
03 Aug, 2009
1 commit
-
Since pr_err and friends are used instead of printk there is no point
in keeping IP_VS_ERR and friends. Furthermore make use of '__func__'
instead of hard coded function names.Signed-off-by: Hannes Eder
Acked-by: Simon Horman
Signed-off-by: David S. Miller
31 Jul, 2009
1 commit
-
While being at it cleanup whitespace.
Signed-off-by: Hannes Eder
Signed-off-by: David S. Miller
30 Dec, 2008
1 commit
-
Acked-by: Graeme Fowler
Signed-off-by: Simon Horman
Signed-off-by: David S. Miller
04 Nov, 2008
1 commit
-
Remove the 'supports_ipv6' scheduler flag since all schedulers now
support IPv6.Signed-off-by: Julius Volz
Signed-off-by: David S. Miller
07 Oct, 2008
1 commit
-
Since IPVS now has partial IPv6 support, this patch moves IPVS from
net/ipv4/ipvs to net/netfilter/ipvs. It's a result of:$ git mv net/ipv4/ipvs net/netfilter
and adapting the relevant Kconfigs/Makefiles to the new path.
Signed-off-by: Julius Volz
Signed-off-by: Simon Horman