Date: Fri, 15 Jun 2007 02:53:51 +0000 (UTC) From: "Christian S.J. Peron" <csjp@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: <200706150253.l5F2rpBV089069@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2007-06-15 02:53:51 UTC FreeBSD src repository Modified files: sys/net bpf.c Log: - Conditionally pickup Giant around the network interface ioctl routines if we are running with !mpsafenet - Change un-conditional Giant acquisition around ifpromisc to occur only if we are running with !mpsafenet With these locking bits in place, we can now remove the Giant requirement from BPF, so drop the D_NEEDGIANT device flag. This change removes Giant acquisitions around BPF device handlers (read, write, ioctl etc). MFC after: 1 month Discussed with: rwatson Revision Changes Path 1.177 +4 -3 src/sys/net/bpf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706150253.l5F2rpBV089069>