求wrr的patch包

I use IPVS with direct routing and wrr scheduler. The problem is that for some configurations I get "icmp port unreachable" when one of the real servers fails and is removed from the ip_vs tables. The smallest case where I can replicate the problem is the following:

ipvs# ipvsadm -A -t virtual.service:http -s wrr
ipvs# ipvsadm -a -t virtual.service:http -r realserver1:http -w 100
ipvs# ipvsadm -a -t virtual.service:http -r realserver2:http -w 1000

client$ wget -O - http://virtual.service/
[works as expected]

ipvs# ipvsadm -d -t virtual.service:http -r realserver2

client$ wget -O - http://virtual.service/
--14:46:29-- http://virtual.service/
=> `-'
Resolving virtual.service... 1.2.3.4
Connecting to virtual.service[1.2.3.4]:80... failed: Connection refused.

在手册中查到此bug,但并无正规patch包,还望能给予此包,mail:zhouhao@aigou.com

Forums:

randomness