DragonFly BSD
DragonFly commits List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 9 Aug 2004 12:54:37 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]