msgport: Merge several sendmsg functions
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 29 Oct 2013 14:10:14 +0000 (22:10 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 30 Oct 2013 14:19:23 +0000 (22:19 +0800)
commit62734c132ceb7ad7474119de2557a523a12c5ffe
tree4815ad2abd4074c0d785fafa5a150ac8a19557cd
parent95ff9ed04330b5ffda26bfae590cddd9dae37dcf
msgport: Merge several sendmsg functions

sendmsg_stage1 and sendmsg_stage2 are actually copy and paste of part of
sendmsg.  Make the functionality inline and let sendmsg call them
sequentially.

While I am here, rename "stage1" to "prepare" and "stage2" to "start"
sys/kern/lwkt_msgport.c
sys/kern/uipc_msg.c
sys/sys/msgport.h