Hello,
On Tue, 18 Sep 2001, Brent Cook wrote:
> Just tried out the new ipvs package with linux-2.4.9-ac10. The statistics
> addition to ipfwadm is especially nice.
>
> One problem I'm having right now is with LVS-NAT and connections made with
> fwmarks. Setting it up is OK, but after that, ipvsadm segfaults on:
> 'ipvsadm -l' or just hangs. It appears to not handle displaying fwmark
> setups very well. Things do appear to forward correctly.
Yes, only the getsockopt fails in the kernel. Patch appended.
> I'll keep looking into it - perhaps its a kernel issue, though this is new
> behavior vs. 0.9.3.
>
> - Brent
Regards
--
Julian Anastasov <ja@xxxxxx>
----------------------------------- cut here -------------------
--- ipvs-0.9.4/ipvs/ip_vs_ctl.c.orig Tue Sep 18 15:42:54 2001
+++ ipvs-0.9.4/ipvs/ip_vs_ctl.c Wed Sep 19 00:46:04 2001
@@ -1775,7 +1775,7 @@
list_for_each (l, &ip_vs_svc_fwm_table[idx]) {
if (count >= get->num_services)
goto out;
- svc = list_entry(l, struct ip_vs_service, s_list);
+ svc = list_entry(l, struct ip_vs_service, f_list);
entry.protocol = svc->protocol;
entry.addr = svc->addr;
entry.port = svc->port;
|