Re: ipfilter cannot be build within because warning's are present

From: Max Laier <max_at_love2party.net>
Date: Fri, 19 Oct 2007 07:56:15 +0200
On Friday 19 October 2007, Victor M. Blood wrote:
> On 18.10.2007, Max Laier wrote:
> > On Thursday 18 October 2007, Victor M. Blood wrote:
> >> On 18.10.2007, Max Laier wrote:
> >> > On Wednesday 17 October 2007, Victor M. Blood wrote:
> >> >> Hi, All.
> >> >>
> >> >> I try to use options in kernel instead of a module build of the
> >> >> ipfilter and got error then kernel builds.
> >> >>
> >> >> I'm edit files: fil.c, ip_auth.h, ip_auth.h, ip_log.c ip_compat.h
> >> >> and correct #ifdef statament :) no more warnings...
> >> >
> >> > ipf is likely broken anyway.  See thread: "7.0 CURRENT, need help
> >> > with panic: Trying sleep, but thread marked as sleeping
> >> > prohibited" on this ML a few days back.  That this warning went
> >> > unnoticed tells you something, too.
> >>
> >> New version, new problems, no more to say) few days back I have
> >> panic with ip filter, now it seems as worked, after upgrade.
> >>
> >> #ipf -V
> >> ipf: IP Filter: v4.1.27 (404)
> >> Kernel: IP Filter: v4.1.27
> >> Running: yes
> >> Log Flags: 0 = none set
> >> Default: block all, Logging: available
> >> Active list: 0
> >> Feature mask: 0xe
> >
> > Is this with a WITNESS/INVARIANTS enabled kernel?  From a quick
> > glance at the code you should see warnings on the ioctl path as there
> > are copy operations to/from userland with the lock held.
>
> Hmm... is it may crash ipnat, then it runs with `-s' key? In attach
> new panics :))

Exactly my point.

-- 
/"\  Best regards,                      | mlaier_at_freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier_at_EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

Received on Fri Oct 19 2007 - 03:56:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC