Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 07:41:33 +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:  <200803250741.m2P7fXXU099178@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2008-03-25 07:41:33 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf.c 
  Log:
  Check for a NULL free buffer pointer in BPF before invoking
  bpf_canfreebuf() in order to avoid potentially calling a non-inlinable
  but trivial function in zero-copy buffer mode for every packet
  received when we couldn't free the buffer anyway.
  
  MFC after:      4 months
  
  Revision  Changes    Path
  1.189     +1 -1      src/sys/net/bpf.c



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