From owner-cvs-src@FreeBSD.ORG Wed Aug 9 16:30:27 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 1B1A816A4DD; Wed, 9 Aug 2006 16:30:27 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D068643D46; Wed, 9 Aug 2006 16:30:26 +0000 (GMT) (envelope-from rwatson@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 k79GUQgZ069252; Wed, 9 Aug 2006 16:30:26 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k79GUQpN069250; Wed, 9 Aug 2006 16:30:26 GMT (envelope-from rwatson) Message-Id: <200608091630.k79GUQpN069250@repoman.freebsd.org> From: Robert Watson Date: Wed, 9 Aug 2006 16:30:26 +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 bpf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 09 Aug 2006 16:30:27 -0000 rwatson 2006-08-09 16:30:26 UTC FreeBSD src repository Modified files: sys/net bpf.c Log: Since bpf_allocbufs() uses malloc() with M_WAITOK, don't check return values for NULL or return an error state. Assert that all three bpf buffer pointers are NULL before starting. MFC after: 1 week Revision Changes Path 1.172 +9 -16 src/sys/net/bpf.c