socket: Dispose rights directly in soreceive(), if them are not wanted
commite62cfe621d6a3206284fddd2af95661edca7f01d
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 4 Nov 2015 02:38:13 +0000 (4 10:38 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 4 Nov 2015 02:53:59 +0000 (4 10:53 +0800)
treed77cf4bd559bbd35fe5c435f89e75e946471ce1b
parent8d2e472e70cfdc152d890e74a6dbebb36537e3fc
socket: Dispose rights directly in soreceive(), if them are not wanted

Instead of leaving them to unp_gc().  This paves the way to simplify
unp_gc() and to remove filehead.

While I'm here, minor style changes.
sys/kern/uipc_socket.c
test/unix/passdesc/passdesc.c