cvs commit: src/sys/netgraph ng_base.c

Alexander Motin mav at
Sun Mar 9 20:10:55 UTC 2008

mav         2008-03-09 20:10:54 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netgraph         ng_base.c 
  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  +86 -49    src/sys/netgraph/ng_base.c

More information about the cvs-src mailing list