Fix receiving fd over unix socket broken in r247740.
authormjg <mjg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 2 Jul 2013 07:36:04 +0000 (07:36 +0000)
committermjg <mjg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 2 Jul 2013 07:36:04 +0000 (07:36 +0000)
commit965520d368109e6ce0b5b9f16c2e93d2776059c3
treec9daee134ed270d2a44a1674d5525ea18047ca76
parent8362dc54262f742a456e565804981d886042cdcb
Fix receiving fd over unix socket broken in r247740.

If n fds were passed, it would receive the first one n times.

Reported by: Shawn Webb <lattera@gmail.com>, koobs, gleb
Tested by: koobs, gleb
Reviewed by: pjd

git-svn-id: svn://svn.freebsd.org/base/head@252502 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/uipc_usrreq.c