From owner-freebsd-current@FreeBSD.ORG Wed Oct 17 22:21:42 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A041016A418 for ; Wed, 17 Oct 2007 22:21:42 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.179]) by mx1.freebsd.org (Postfix) with ESMTP id 3901F13C481 for ; Wed, 17 Oct 2007 22:21:42 +0000 (UTC) (envelope-from max@love2party.net) Received: from amd64.laiers.local (dslb-088-066-055-120.pools.arcor-ip.net [88.66.55.120]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1IiHGm2Vjr-0000sD; Thu, 18 Oct 2007 00:21:40 +0200 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org Date: Thu, 18 Oct 2007 00:21:33 +0200 User-Agent: KMail/1.9.7 References: <359284519.20071018014832@masm.elcom.ru> <200710172357.18221.max@love2party.net> <6210619899.20071018020530@masm.elcom.ru> In-Reply-To: <6210619899.20071018020530@masm.elcom.ru> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1749356.CM5bSGe87K"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200710180021.39250.max@love2party.net> X-Provags-ID: V01U2FsdGVkX19TmL3GqNL9EOU/ue4+Ddzcr/tCFFVrtEHLgeC qO/mwStfl8AfrUrwfbvhNTJjNSZX2SdEDf++YdrnSTqa+zP33K LiBw4yyVY0dzAOdCPgRKkFNVDKuEw8zJRbvLtK+SIU= Cc: "Victor M. Blood" Subject: Re: ipfilter cannot be build within because warning's are present X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 22:21:42 -0000 --nextPart1749356.CM5bSGe87K Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 =3D 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=20 the code you should see warnings on the ioctl path as there are copy=20 operations to/from userland with the lock held. Moving to rw_locks is the right direction, but the config path is still=20 broken. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1749356.CM5bSGe87K Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHForzXyyEoT62BG0RAjhvAJ94Mzhh5WRlHaFsTjSh0VvbhVTjKQCeNSk6 KI5H3UNeG6IgIBdhGI++tPI= =/JV0 -----END PGP SIGNATURE----- --nextPart1749356.CM5bSGe87K--