Files
ubports_kernel_google_msm/include/net
Patrick Schaaf 41ac51eeda ipvs: make "no destination available" message more informative
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 available

I 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 <netdev@bof.de>
Signed-off-by: Simon Horman <horms@verge.net.au>
2011-02-16 14:53:33 +09:00
..
2010-09-23 14:33:39 -07:00
2011-01-10 13:33:17 -08:00
2010-11-29 09:45:15 -08:00
2010-12-31 10:47:46 -08:00
2010-06-03 03:21:52 -07:00
2010-11-10 12:12:00 -08:00
2010-10-27 11:37:32 -07:00
2010-10-25 13:09:44 -07:00
2010-11-24 11:16:42 -08:00
2010-12-19 21:59:35 -08:00
2010-09-23 14:33:39 -07:00
2010-10-25 13:09:45 -07:00
2011-01-14 13:36:42 +01:00
2010-12-12 22:08:17 -08:00
2010-10-27 11:37:32 -07:00
2010-09-23 14:33:39 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-12-02 13:27:33 -08:00
2010-11-24 11:16:43 -08:00
2010-12-02 13:27:33 -08:00
2010-11-10 12:12:00 -08:00
2010-11-28 11:12:20 -08:00