From owner-cvs-all@FreeBSD.ORG Sun Nov 5 17:56:25 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 D220C16A4A7; Sun, 5 Nov 2006 17:56:25 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A0B343D5E; Sun, 5 Nov 2006 17:56:25 +0000 (GMT) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kA5HuPtC033054; Sun, 5 Nov 2006 17:56:25 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kA5HuPEo033053; Sun, 5 Nov 2006 17:56:25 GMT (envelope-from csjp) Message-Id: <200611051756.kA5HuPEo033053@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Sun, 5 Nov 2006 17:56:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net if_bridge.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 05 Nov 2006 17:56:25 -0000 csjp 2006-11-05 17:56:25 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Fix possible leak when bridge is in monitor mode. Use m_freem() which will free the entire chain, instead of using m_free() which will free just the mbuf that was passed. Discussed with: thompsa MFC after: 3 days Revision Changes Path 1.85 +1 -1 src/sys/net/if_bridge.c