tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ipfilter causes panic when setting tcp_idle_timeout
> It turns out there is no panic if I don't disable ipf beforehands (I
> was under the impression this was necessary but evidently it's not).
The problem is that ipf_settimeout_tcp() in't passed the softc; perhaps it
should be so that ipf_settimeout_tcp() can skip the ipf_apply_timeout()
(but watch below!) calls based on ipf_running. Or just pass ipf_running
(or an apply_timeouts flag) instead if the full softc.
> However, the tunable still isn't being set, with ipfilter enabled.
It looks to me that ipf_settimeout_tcp() is missing a
*t->ipft_pint = p->ipftu_int;
before the
return 0;
.
Home |
Main Index |
Thread Index |
Old Index