cvs commit: src/sys/netinet ip_input.c

Maxim Konovalov maxim at FreeBSD.org
Fri Apr 8 03:25:14 PDT 2005


maxim       2005-04-08 10:25:13 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_input.c 
  Log:
  o Nano optimize ip_reass() code path for the first fragment: do not
  try to reasseble the packet from the fragments queue with the only
  fragment, finish with the first fragment as soon as we create a queue.
  
  Spotted by:     Vijay Singh
  
  o Drop the fragment if maxfragsperpacket == 0, no chances we
  will be able to reassemble the packet in future.
  
  Reviewed by:    silby
  
  Revision  Changes    Path
  1.300     +3 -5      src/sys/netinet/ip_input.c


More information about the cvs-all mailing list