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

Ben Pfaff blp at ovn.org
Tue Jan 14 18:37:48 UTC 2020


On Tue, Jan 14, 2020 at 07:09:36PM +0100, Ilya Maximets wrote:
> 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>

Thanks!  Applied to master.


More information about the dev mailing list