linux/net/netfilter/ipvs
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
..
ip_vs_app.c IPVS: netns, final patch enabling network name space. 2011-01-13 10:30:29 +09:00
ip_vs_conn.c IPVS: netns, final patch enabling network name space. 2011-01-13 10:30:29 +09:00
ip_vs_core.c ipvs: remove extra lookups for ICMP packets 2011-02-16 07:00:33 +09:00
ip_vs_ctl.c IPVS: Allow compilation with CONFIG_SYSCTL disabled 2011-02-01 18:29:04 +01:00
ip_vs_dh.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ip_vs_est.c IPVS: netns, final patch enabling network name space. 2011-01-13 10:30:29 +09:00
ip_vs_ftp.c IPVS: netns, final patch enabling network name space. 2011-01-13 10:30:29 +09:00
ip_vs_lblc.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_lblcr.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_lc.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_nfct.c IPVS: netns, connection hash got net as param. 2011-01-13 10:30:28 +09:00
ip_vs_nq.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_pe.c IPVS: Backup, Adding Version 1 receive capability 2010-11-25 10:42:59 +09:00
ip_vs_pe_sip.c IPVS: skb defrag in L7 helpers 2010-11-25 10:42:58 +09:00
ip_vs_proto.c netfilter: ipvs: fix compiler warnings 2011-01-22 13:19:36 +11:00
ip_vs_proto_ah_esp.c IPVS: netns, connection hash got net as param. 2011-01-13 10:30:28 +09:00
ip_vs_proto_sctp.c IPVS: Use correct lock in SCTP module 2011-02-03 20:45:55 +09:00
ip_vs_proto_tcp.c IPVS: netns, ip_vs_ctl local vars moved to ipvs struct. 2011-01-13 10:30:28 +09:00
ip_vs_proto_udp.c IPVS: netns, ip_vs_ctl local vars moved to ipvs struct. 2011-01-13 10:30:28 +09:00
ip_vs_rr.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_sched.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_sed.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_sh.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_sync.c ipvs: fix timer in get_curr_sync_buff 2011-02-16 07:00:02 +09:00
ip_vs_wlc.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_wrr.c ipvs: make "no destination available" message more informative 2011-02-16 14:53:33 +09:00
ip_vs_xmit.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 into HEAD 2011-01-13 10:29:21 +09:00
Kconfig netfilter: fix IP_VS dependencies 2010-11-18 13:14:33 -08:00
Makefile IPVS: sip persistence engine 2010-10-04 22:45:24 +09:00