cvs commit: src/sys/netgraph ng_base.c

Alexander Motin mav at FreeBSD.org
Mon Mar 10 20:38:57 UTC 2008


mav         2008-03-10 20:38:56 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netgraph         ng_base.c 
  Log:
  MFC: rev. 1.148-1.149
  Implement 128 items node name hash for faster name search.
  Increase node ID hash size from 32 to 128 items.
  Increase default queue items allocation limit from 512 to 4096 items
  to avoid terrible unpredicted effects for netgraph operation of their
  exhaustion while allocating control messages.
  Add separate configurable 512 items limit for data items allocation
  for DoS/overload protection.
  
  Revision    Changes    Path
  1.102.2.17  +86 -49    src/sys/netgraph/ng_base.c


More information about the cvs-src mailing list