Don't do following optimization in udp_disconnect():
commit47d8587fc592a463d49c2903f4d720f49b369352
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 26 Apr 2008 14:08:52 +0000 (26 14:08 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 26 Apr 2008 14:08:52 +0000 (26 14:08 +0000)
treef120cc1b37e67e91720f9ffe7423d62d1b9fe9a6
parentc19e161334de7c7159c1f3c665e4b88d0beb2115
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().
sys/netinet/udp_usrreq.c