[ovs-dev] [PATCH] socket-util: Emulate recvmmsg() and sendmmsg() on Linux only.

Ilya Maximets i.maximets at ovn.org
Tue Jan 14 18:09:36 UTC 2020


On 13.01.2020 19:03, Ben Pfaff wrote:
> These functions failed to build on OS X because MSG_WAITFORONE is not
> defined there.  There are pitfalls for trying to define our own MSG_*
> constants, since it's hard to pick a constant that is not used by the
> system already.  Because OVS only uses recvmmsg() and sendmmsg() on
> Linux, it seems easiest to just emulate them there.

Thanks!  This looks good to me and passes Travis build.

Acked-by: Ilya Maximets <i.maximets at ovn.org>


More information about the dev mailing list