cvs commit: src/sys/netinet udp_usrreq.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Apr 26 07:11:05 PDT 2008
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
More information about the Commits
mailing list