From owner-cvs-all@FreeBSD.ORG Fri Jun 11 03:45:43 2004 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 BC5FE16A4CE; Fri, 11 Jun 2004 03:45:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F47A43D49; Fri, 11 Jun 2004 03:45:43 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5B3jhdv092794; Fri, 11 Jun 2004 03:45:43 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5B3jgj9092793; Fri, 11 Jun 2004 03:45:43 GMT (envelope-from rwatson) Message-Id: <200406110345.i5B3jgj9092793@repoman.freebsd.org> From: Robert Watson Date: Fri, 11 Jun 2004 03:45:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net bpf.c 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, 11 Jun 2004 03:45:43 -0000 rwatson 2004-06-11 03:45:42 UTC FreeBSD src repository Modified files: sys/net bpf.c Log: Un-staticize 'dst' sockaddr in the stack of bpfwrite() to prevent the need to synchronize access to the structure. I believe this should fit into the stack under the necessary circumstances, but if not we can either add synchronization or use a thread-local malloc for the duration. Revision Changes Path 1.126 +2 -1 src/sys/net/bpf.c