cvs commit: src/sys/netinet tcp_usrreq.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Feb 9 05:38:25 PST 2008


sephe       2008/02/09 05:38:03 PST

DragonFly src repository

  Modified files:
    sys/netinet          tcp_usrreq.c 
  Log:
  In TCP PRU_CONNECT handling, install inp's route with the route entry on the
  correct CPU:
  If the TCP connection's target port is not tcp_thread[0]'s port on which TCP
  PRU_CONNECT is processed, then
  - In tcp_connect(), the route entry installed in inp's route by in_pcbladdr()
    is freed, so the next fix could take effect.
  - In tcp_usr_connect(), tcp_output() is dispatched to the connection's target
    port to be called, so the route entry on the connection's target CPU will
    be installed in inp's route.
  
  Approved-by: dillon@
  
  Revision  Changes    Path
  1.46      +41 -1     src/sys/netinet/tcp_usrreq.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/tcp_usrreq.c.diff?r1=1.45&r2=1.46&f=u





More information about the Commits mailing list