aboutsummaryrefslogtreecommitdiff
path: root/net/netfilter/ipvs/ip_vs_nq.c
diff options
context:
space:
mode:
authorGravatar Simon Horman <horms@verge.net.au> 2008-12-29 18:37:36 -0800
committerGravatar David S. Miller <davem@davemloft.net> 2008-12-29 18:37:36 -0800
commit68888d105365366c5e1e0424cc939c1fc757f9c4 (patch)
treec57165c3793b67d5ce73dc3b9e5f46490dd6b06c /net/netfilter/ipvs/ip_vs_nq.c
parentnet: KS8695: removed duplicated #include (diff)
downloadlinux-68888d105365366c5e1e0424cc939c1fc757f9c4.tar.gz
linux-68888d105365366c5e1e0424cc939c1fc757f9c4.tar.bz2
linux-68888d105365366c5e1e0424cc939c1fc757f9c4.zip
IPVS: Make "no destination available" message more consistent between schedulers
Acked-by: Graeme Fowler <graeme@graemef.net> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_nq.c')
-rw-r--r--net/netfilter/ipvs/ip_vs_nq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_nq.c b/net/netfilter/ipvs/ip_vs_nq.c
index 6758ad2ceaaf..694952db5026 100644
--- a/net/netfilter/ipvs/ip_vs_nq.c
+++ b/net/netfilter/ipvs/ip_vs_nq.c
@@ -95,8 +95,10 @@ ip_vs_nq_schedule(struct ip_vs_service *svc, const struct sk_buff *skb)
}
}
- if (!least)
+ if (!least) {
+ IP_VS_ERR_RL("NQ: no destination available\n");
return NULL;
+ }
out:
IP_VS_DBG_BUF(6, "NQ: server %s:%u "