Re: [ovs-dev] [PATCH 3/4] netdev: Improve comments on netdev_rxq_recv().

2016-03-07 Thread Ben Pfaff
On Mon, Mar 07, 2016 at 05:31:17PM -0800, Justin Pettit wrote: > > > On Mar 7, 2016, at 11:18 AM, Ben Pfaff wrote: > > > > The comment was incomplete in some ways and simply wrong in others. > > > > Also ensure that *cnt is set to 0 if an error is encountered. It's nice > > when

Re: [ovs-dev] [PATCH 3/4] netdev: Improve comments on netdev_rxq_recv().

2016-03-07 Thread Justin Pettit
> On Mar 7, 2016, at 11:18 AM, Ben Pfaff wrote: > > The comment was incomplete in some ways and simply wrong in others. > > Also ensure that *cnt is set to 0 if an error is encountered. It's nice > when callers can rely on this. > > Signed-off-by: Ben Pfaff

[ovs-dev] [PATCH 3/4] netdev: Improve comments on netdev_rxq_recv().

2016-03-07 Thread Ben Pfaff
The comment was incomplete in some ways and simply wrong in others. Also ensure that *cnt is set to 0 if an error is encountered. It's nice when callers can rely on this. Signed-off-by: Ben Pfaff --- lib/netdev-provider.h | 32 +++- lib/netdev.c