From owner-cvs-src@FreeBSD.ORG Sat Feb 21 04:55:08 2004 Return-Path: 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 3F67316A4CE; Sat, 21 Feb 2004 04:55:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 227FB43D1F; Sat, 21 Feb 2004 04:55:08 -0800 (PST) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1LCt7Ge080278; Sat, 21 Feb 2004 04:55:07 -0800 (PST) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1LCt75X080277; Sat, 21 Feb 2004 04:55:07 -0800 (PST) (envelope-from harti) Message-Id: <200402211255.i1LCt75X080277@repoman.freebsd.org> From: Hartmut Brandt Date: Sat, 21 Feb 2004 04:55:07 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netatm atm_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2004 12:55:08 -0000 harti 2004/02/21 04:55:07 PST FreeBSD src repository Modified files: sys/netatm atm_subr.c Log: Don't remove the first mbuf in the chain if it got empty. This removes the packet header in certain cases which later on will give panic. Clarify what the atm_intr expects in the comment and de-obscurify the code a little bit by replacing the portability macros with the BSD names. The code isn't maintained externally anymore so there's no point in keeping the extra level of obscurity. Revision Changes Path 1.42 +6 -7 src/sys/netatm/atm_subr.c