net: Remove unnecessary sosetport() in various pru_attachs
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 16 Jun 2014 13:06:16 +0000 (21:06 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 16 Jun 2014 13:06:16 +0000 (21:06 +0800)
commit6df6b333edeeb8c8793af3fe5cbbbc680efc71f6
treefc08378741be91f4133e5c77684ebe59b00c021e
parent00b4e38425798fb4e4a6a00381fa85ccb28be68b
net: Remove unnecessary sosetport() in various pru_attachs

The so_port is set before the pru_attach is called; there is no need
to do it again.
sys/netinet/ip_divert.c
sys/netinet/udp_usrreq.c
sys/netinet6/udp6_usrreq.c