From owner-cvs-all@FreeBSD.ORG Thu May 1 20:43:41 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93BE237B401; Thu, 1 May 2003 20:43:41 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30E3643FE5; Thu, 1 May 2003 20:43:41 -0700 (PDT) (envelope-from silby@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h423he0U027318; Thu, 1 May 2003 20:43:40 -0700 (PDT) (envelope-from silby@repoman.freebsd.org) Received: (from silby@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h423he59027317; Thu, 1 May 2003 20:43:40 -0700 (PDT) Message-Id: <200305020343.h423he59027317@repoman.freebsd.org> From: Mike Silbersack Date: Thu, 1 May 2003 20:43:40 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern subr_mbuf.c src/sys/sys mbuf.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2003 03:43:42 -0000 silby 2003/05/01 20:43:40 PDT FreeBSD src repository Modified files: sys/kern subr_mbuf.c sys/sys mbuf.h Log: Add the M_FREELIST flag, which is used to detect whenever a double free of a mbuf occurs and cause an immediate panic, rather than allowing free list corruption to occur. This code is trapped under INVARIANTS, so it should not cause any change in default performance. Reviewed by: a bunch of people on -net MFC after: 1 week Revision Changes Path 1.47 +10 -0 src/sys/kern/subr_mbuf.c 1.121 +1 -0 src/sys/sys/mbuf.h