Date: Tue, 4 Jul 2006 09:51:26 +0200 From: Max Laier <max@love2party.net> To: "Scott Ullrich" <sullrich@gmail.com> 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 Message-ID: <200607040951.39456.max@love2party.net> In-Reply-To: <d5992baf0607031750m41407194ufadcdaf1b0baa75a@mail.gmail.com> References: <200605141422.k4EEMnmC056704@repoman.freebsd.org> <200606271416.29255.max@love2party.net> <d5992baf0607031750m41407194ufadcdaf1b0baa75a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607040951.39456.max>