cvs commit: src/sys/netinet ip_demux.c

Matthew Dillon dillon at
Mon Nov 10 10:33:31 PST 2003

dillon      2003/11/10 10:32:59 PST

DragonFly src repository

  Modified files:
    sys/netinet          ip_demux.c 
  What happens when you mod a negative number?  Mask off the hash value before
  modding so the returned value doesn't overflow the thread array when hashing
  Also disable the multi-threaded networking by default.  Setting
  net.inet.ip.mthread_enable to 1 will enable it.
  Revision  Changes    Path
  1.2       +3 -2      src/sys/netinet/ip_demux.c

More information about the Commits mailing list