From owner-freebsd-current Sun Sep 6 03:22:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA00205 for freebsd-current-outgoing; Sun, 6 Sep 1998 03:22:13 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA00190 for ; Sun, 6 Sep 1998 03:22:05 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id LAA05458; Sun, 6 Sep 1998 11:21:41 +0100 (BST) Date: Sun, 6 Sep 1998 11:21:41 +0100 (BST) From: Doug Rabson To: Mike Haertel cc: current@FreeBSD.ORG, wollman@khavrinen.lcs.mit.edu Subject: Re: DANGER: new IP fragment code breaks SLIP In-Reply-To: <199809052110.OAA00369@ducky.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 5 Sep 1998, Mike Haertel wrote: > I've been experiencing crashes with recent 3.0 kernels using SLIP > based dialin networking. Haven't had time yet to set up kernel > debugging, however I spent a half an hour doing binary search via > kernel builds on recent CVS commits. The bug is either contained > in, or perhaps exposed by, the following commit: Would it be possible to get a packet trace with tcpdump for one of these crashes? It would make it easier to deduce the path taken through the reassembly code. In the mean time could you add this patch to uipc_socket2.c to test out a possible cause of the crash: Index: uipc_socket2.c =================================================================== RCS file: /home/ncvs/src/sys/kern/uipc_socket2.c,v retrieving revision 1.39 diff -u -r1.39 uipc_socket2.c --- uipc_socket2.c 1998/09/05 13:24:39 1.39 +++ uipc_socket2.c 1998/09/06 09:35:59 @@ -457,6 +457,8 @@ if (m == 0) return; + if (m->m_nextpkt) + panic("sbappend: unexpected packet chain"); n = sb->sb_mb; if (n) { while (n->m_nextpkt) -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message