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

cvs commit: src/sys/netinet udp_usrreq.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Apr 2008 07:08:53 -0700 (PDT)

sephe       2008/04/26 07:08:53 PDT

DragonFly src repository

  Modified files:
    sys/netinet          udp_usrreq.c 
  Log:
  Don't do following optimization in udp_disconnect():
  Conditionally free cached pcb route entry by predicting new laddr.
  
  During soclose() on a connected UDP socket, this optimization will cause
  cached pcb route entry being freed on wrong CPU, since f{port,addr} have
  been changed.
  
  Fix comment in udp_connect().
  
  Revision  Changes    Path
  1.44      +9 -23     src/sys/netinet/udp_usrreq.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/udp_usrreq.c.diff?r1=1.43&r2=1.44&f=u



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