From owner-cvs-src@FreeBSD.ORG  Tue Jul  4 07:52:11 2006
Return-Path: <owner-cvs-src@FreeBSD.ORG>
X-Original-To: cvs-src@freebsd.org
Delivered-To: cvs-src@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D7A0916A4E1;
	Tue,  4 Jul 2006 07:52:11 +0000 (UTC)
	(envelope-from max@love2party.net)
Received: from moutng.kundenserver.de (moutng.kundenserver.de
	[212.227.126.171])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1A54343D76;
	Tue,  4 Jul 2006 07:51:49 +0000 (GMT)
	(envelope-from max@love2party.net)
Received: from [88.64.183.36] (helo=amd64.laiers.local)
	by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis),
	id 0ML25U-1Fxfh62UNH-0004Gf; Tue, 04 Jul 2006 09:51:41 +0200
From: Max Laier <max@love2party.net>
Organization: FreeBSD
To: "Scott Ullrich" <sullrich@gmail.com>
Date: Tue, 4 Jul 2006 09:51:26 +0200
User-Agent: KMail/1.9.1
References: <200605141422.k4EEMnmC056704@repoman.freebsd.org>
	<200606271416.29255.max@love2party.net>
	<d5992baf0607031750m41407194ufadcdaf1b0baa75a@mail.gmail.com>
In-Reply-To: <d5992baf0607031750m41407194ufadcdaf1b0baa75a@mail.gmail.com>
X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGd<hB5S>u+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="nextPart6209742.yVLhcD62Bb";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200607040951.39456.max@love2party.net>
X-Provags-ID: kundenserver.de abuse@kundenserver.de
	login:61c499deaeeba3ba5be80f48ecc83056
Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org,
	dsh@vlink.ru, Maxim Konovalov <maxim@macomnet.ru>,
	Bruce M Simpson <bms@freebsd.org>
Subject: Re: cvs commit: src/sys/netinet in.h ip_output.c ip_var.h
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Jul 2006 07:52:12 -0000

--nextPart6209742.yVLhcD62Bb
Content-Type: multipart/mixed;
  boundary="Boundary-01=_G4hqEzGa+MsVv5Y"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_G4hqEzGa+MsVv5Y
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 04 July 2006 02:50, Scott Ullrich wrote:
> On 6/27/06, Max Laier <max@love2party.net> wrote:
> > See attached, for a possible fix.  Untested, so be careful.
>
> Unfortunately this patch does not help.  I was able to get a trace
> prior to the patch if that would help:
> http://www.pfsense.com/~sullrich/panics/pfsync_panic_freebsd_7.txt

Right, forgot about pfsync.  Use this in addition.  Again, only compile=20
tested.

=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

--Boundary-01=_G4hqEzGa+MsVv5Y
Content-Type: text/x-diff; charset="iso-8859-1"; name="if_pfsync.imo.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="if_pfsync.imo.diff"

Index: if_pfsync.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /usr/store/mlaier/fcvs/src/sys/contrib/pf/net/if_pfsync.c,v
retrieving revision 1.28
diff -u -r1.28 if_pfsync.c
=2D-- if_pfsync.c	16 Jun 2006 10:25:06 -0000	1.28
+++ if_pfsync.c	4 Jul 2006 07:45:40 -0000
@@ -200,6 +200,7 @@
         if_detach(ifp);
 	if_free(ifp);
         LIST_REMOVE(sc, sc_next);
+        free(sc->sc_imo.imo_membership, M_PFSYNC);
         free(sc, M_PFSYNC);
 }
=20
@@ -227,6 +228,10 @@
 	sc->sc_sendaddr.s_addr =3D htonl(INADDR_PFSYNC_GROUP);
 	sc->sc_ureq_received =3D 0;
 	sc->sc_ureq_sent =3D 0;
+	sc->sc_imo.imo_membership =3D (struct in_multi **)malloc(
+	    (sizeof(struct in_multi *) * IP_MIN_MEMBERSHIPS), M_PFSYNC,
+	    M_WAITOK);
+	sc->sc_imo.imo_max_memberships =3D IP_MIN_MEMBERSHIPS;
=20
 	ifp =3D SCP2IFP(sc);
 	if_initname(ifp, ifc->ifc_name, unit);

--Boundary-01=_G4hqEzGa+MsVv5Y--

--nextPart6209742.yVLhcD62Bb
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEqh4LXyyEoT62BG0RAvlBAKCCF8H5EZxjB1S4zb+hi8yukCsfowCeLwjw
o7dTkiSrTVHWiMo+36ZkBic=
=PjCb
-----END PGP SIGNATURE-----

--nextPart6209742.yVLhcD62Bb--