cvs commit: src/sys/net bpf.c

Christian S.J. Peron csjp at FreeBSD.org
Fri Jun 15 02:53:52 UTC 2007


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


More information about the cvs-src mailing list