Re: [PATCH v2] connection: Fix sendmsg() on FreeBSD

2014-11-05 Thread Pekka Paalanen
On Mon, 03 Nov 2014 09:49:03 + Philip Withnall wrote: > It expects ((msg_controllen == 0) == (msg_control == NULL)), and returns > EINVAL otherwise. It can't hurt to be tidy about things on other platforms > either though. > > See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=99356#c5 >

[PATCH v2] connection: Fix sendmsg() on FreeBSD

2014-11-03 Thread Philip Withnall
It expects ((msg_controllen == 0) == (msg_control == NULL)), and returns EINVAL otherwise. It can't hurt to be tidy about things on other platforms either though. See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=99356#c5 Signed-off-by: Philip Withnall Signed-off-by: Karsten Otto --- Updat