diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_wrr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_wrr.c b/net/ipv4/ipvs/ip_vs_wrr.c index 749fa044eca5..85c680add6df 100644 --- a/net/ipv4/ipvs/ip_vs_wrr.c +++ b/net/ipv4/ipvs/ip_vs_wrr.c | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
25 | #include <linux/net.h> | ||
25 | 26 | ||
26 | #include <net/ip_vs.h> | 27 | #include <net/ip_vs.h> |
27 | 28 | ||
@@ -169,7 +170,7 @@ ip_vs_wrr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb) | |||
169 | */ | 170 | */ |
170 | if (mark->cw == 0) { | 171 | if (mark->cw == 0) { |
171 | mark->cl = &svc->destinations; | 172 | mark->cl = &svc->destinations; |
172 | IP_VS_INFO("ip_vs_wrr_schedule(): " | 173 | IP_VS_ERR_RL("ip_vs_wrr_schedule(): " |
173 | "no available servers\n"); | 174 | "no available servers\n"); |
174 | dest = NULL; | 175 | dest = NULL; |
175 | goto out; | 176 | goto out; |