Date: Fri, 11 Jun 2004 03:45:42 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bpf.c Message-ID: <200406110345.i5B3jgj9092793@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406110345.i5B3jgj9092793>
