udp: Fix "unconnect" and cleanup connect
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 18 Jun 2014 13:18:45 +0000 (21:18 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 18 Jun 2014 13:18:45 +0000 (21:18 +0800)
commitfbfbcd3a70a0279728c98bc498f7b12e1b17ac30
tree9b329f04d58bf82754b8cd37546d7fd5a942e015
parent85f6cb4d05482b79b78b833dd4130e18a4320aff
udp: Fix "unconnect" and cleanup connect

Put udp inpcb into wildcard hash in pru_disconnect method.  This restores
the old behaviour of traditional BSD "unconnect".

Clean up pru_connect after fixing the "unconnect" support; in preparation
for distributing udp inpcb across netisrs.
sys/netinet/udp_usrreq.c