csjp        2008-07-05 20:11:28 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf.c bpf_zerocopy.c bpf_zerocopy.h 
  Log:
  SVN rev 180310 on 2008-07-05 20:11:28Z by csjp
  
  Make sure we are clearing the ZBUF_FLAG_IMMUTABLE any time a free buffer
  is reclaimed by the kernel.  This fixes a bug resulted in the kernel
  over writing packet data while user-space was still processing it when
  zerocopy is enabled.  (Or a panic if invariants was enabled).
  
  Discussed with: rwatson
  
  Revision  Changes    Path
  1.196     +25 -0     src/sys/net/bpf.c
  1.5       +18 -0     src/sys/net/bpf_zerocopy.c
  1.3       +1 -0      src/sys/net/bpf_zerocopy.h
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to