diff options
author | David S. Miller | 2011-03-02 20:30:24 +0100 |
---|---|---|
committer | David S. Miller | 2011-03-02 20:30:24 +0100 |
commit | 3872b284087081ee5cb0e4630954c2f7a2153cf5 (patch) | |
tree | ead36598e35730e419edcf42dc788290af9e3d5b /net/netfilter/ipvs/ip_vs_wrr.c | |
parent | inet: Replace left-over references to inet->cork (diff) | |
parent | netfilter: nf_ct_tcp: fix out of sync scenario while in SYN_RECV (diff) | |
download | kernel-qcow2-linux-3872b284087081ee5cb0e4630954c2f7a2153cf5.tar.gz kernel-qcow2-linux-3872b284087081ee5cb0e4630954c2f7a2153cf5.tar.xz kernel-qcow2-linux-3872b284087081ee5cb0e4630954c2f7a2153cf5.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_wrr.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_wrr.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/net/netfilter/ipvs/ip_vs_wrr.c b/net/netfilter/ipvs/ip_vs_wrr.c index 30db633f88f1..1ef41f50723c 100644 --- a/net/netfilter/ipvs/ip_vs_wrr.c +++ b/net/netfilter/ipvs/ip_vs_wrr.c @@ -147,8 +147,9 @@ ip_vs_wrr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb) if (mark->cl == mark->cl->next) { /* no dest entry */ - IP_VS_ERR_RL("WRR: no destination available: " - "no destinations present\n"); + ip_vs_scheduler_err(svc, + "no destination available: " + "no destinations present"); dest = NULL; goto out; } @@ -162,8 +163,8 @@ ip_vs_wrr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb) */ if (mark->cw == 0) { mark->cl = &svc->destinations; - IP_VS_ERR_RL("WRR: no destination " - "available\n"); + ip_vs_scheduler_err(svc, + "no destination available"); dest = NULL; goto out; } @@ -185,8 +186,9 @@ ip_vs_wrr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb) /* back to the start, and no dest is found. It is only possible when all dests are OVERLOADED */ dest = NULL; - IP_VS_ERR_RL("WRR: no destination available: " - "all destinations are overloaded\n"); + ip_vs_scheduler_err(svc, + "no destination available: " + "all destinations are overloaded"); goto out; } } |