cvs commit: src/sys/netinet tcp_input.c

Bjoern A. Zeeb bz at FreeBSD.org
Sat Mar 8 17:01:27 UTC 2008


bz          2008-03-08 17:01:27 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netinet          tcp_input.c 
  Log:
  MFC:
    rev. 1.372
     Fix indentation (whitespace changes only).
  
    rev. 1.373
     Some "cleanup" of tcp_mss():
     - Move the assigment of the socket down before we first need it.
       No need to do it at the beginning and then drop out the function
       by one of the returns before using it 100 lines further down.
     - Use t_maxopd which was assigned the "tcp_mssdflt" for the corrrect
       AF already instead of another #ifdef ? : #endif block doing the same.
     - Remove an unneeded (duplicate) assignment of mss to t_maxseg just before
       we possibly change mss and re-do the assignment without using t_maxseg
       in between.
  
  Revision   Changes    Path
  1.370.2.1  +8 -12     src/sys/netinet/tcp_input.c


More information about the cvs-src mailing list