From owner-cvs-src-old@FreeBSD.ORG Wed May 27 01:45:34 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C937E1065757 for ; Wed, 27 May 2009 01:45:34 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9BAE48FC1C for ; Wed, 27 May 2009 01:45:34 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n4R1jY5N085310 for ; Wed, 27 May 2009 01:45:34 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n4R1jYuE085309 for cvs-src-old@freebsd.org; Wed, 27 May 2009 01:45:34 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <200905270145.n4R1jYuE085309@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Wed, 27 May 2009 01:45:23 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/xen/netfront netfront.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 01:45:35 -0000 adrian 2009-05-27 01:45:23 UTC FreeBSD src repository Modified files: sys/dev/xen/netfront netfront.c Log: SVN rev 192868 on 2009-05-27 01:45:23Z by adrian Add in some INVARIANT checks in the TX mbuf descriptor "freelist" management code. Slot 0 must always remain "free" and be a pointer to the first free entry in the mbuf descriptor list. It is thus an error to have code allocate or push slot 0 back into the list. Revision Changes Path 1.15 +2 -0 src/sys/dev/xen/netfront/netfront.c