DragonFly commits List (threaded) for 2008-02
DragonFly BSD
DragonFly commits List (threaded) for 2008-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netinet tcp_usrreq.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 9 Feb 2008 05:38:03 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]