Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2008 20:11:28 +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 bpf_zerocopy.c bpf_zerocopy.h
Message-ID:  <200807052011.m65KBc9Z070033@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807052011.m65KBc9Z070033>