From owner-cvs-all Fri Dec 15 13: 6:59 2000 From owner-cvs-all@FreeBSD.ORG Fri Dec 15 13:06:57 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EAF6137B400; Fri, 15 Dec 2000 13:06:56 -0800 (PST) Received: (from bmilekic@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBFL6uQ59388; Fri, 15 Dec 2000 13:06:56 -0800 (PST) (envelope-from bmilekic) Message-Id: <200012152106.eBFL6uQ59388@freefall.freebsd.org> From: Bosko Milekic Date: Fri, 15 Dec 2000 13:06:56 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_mn.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bmilekic 2000/12/15 13:06:56 PST Modified files: sys/pci if_mn.c Log: Make sure to check if MGET(HDR) returned NULL, even when called with M_WAIT. This fixes the possibility of a NULL pointer dereference in the case where there are no mbufs or mbuf clusters left. Approved by: phk Revision Changes Path 1.25 +27 -3 src/sys/pci/if_mn.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message