[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1269613210.2839.75.camel@edumazet-laptop>
Date: Fri, 26 Mar 2010 15:20:10 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ulrich Drepper <drepper@...il.com>
Cc: Brandon Black <blblack@...il.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: behavior of recvmmsg() on blocking sockets
Le vendredi 26 mars 2010 à 05:00 -0700, Ulrich Drepper a écrit :
> On Wed, Mar 24, 2010 at 16:35, Brandon Black <blblack@...il.com> wrote:
> > + /* MSG_WAITFORONE turns on MSG_DONTWAIT after one packet */
> > + if (!datagrams++ && flags & MSG_WAITFORONE)
> > + flags |= MSG_DONTWAIT;
>
> There should be an extra pair of parenthesis around the & operands but
> aside from that I could imagine this to work.
>
> Would be nice if the netdev folks would respond.
It seems fine, Brandon please submit a formal patch.
Thanks
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists