cvs commit: src/usr.sbin/ppp ip.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 9 12:55:03 PDT 2004


dillon      2004/08/09 12:54:37 PDT

DragonFly src repository

  Modified files:
    usr.sbin/ppp         ip.c 
  Log:
  Merge FreeBSD ip.c/1.101, commit message:
  
  Make getprotobynumber() calls in FilterCheck conditional on the log
  levels by which they are used.  On a typical production setting (no
  debug or filter logging) this will save an open/read/close system
  call sequence per packet, approximately halving the system overhead
  and reducing the overall overhead by 38%.
  
  Suggested-by: Barry Bouwsma
  
  Revision  Changes    Path
  1.3       +21 -11    src/usr.sbin/ppp/ip.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/ppp/ip.c.diff?r1=1.2&r2=1.3&f=u





More information about the Commits mailing list