[ovs-dev] [PATCH] poll-loop: fix assertion in poll_create_node

Alin Serdean aserdean at cloudbasesolutions.com
Tue Sep 29 21:48:17 UTC 2015


I am trying to find the root cause also Guru, it seems that someone is passing an invalid handle.

Alin.

> -----Mesaj original-----
> De la: dev [mailto:dev-bounces at openvswitch.org] În numele Gurucharan
> Shetty
> Trimis: Wednesday, September 30, 2015 12:40 AM
> Către: Ben Pfaff <blp at nicira.com>
> Cc: Ilya Maximets <i.maximets at samsung.com>; dev
> <dev at openvswitch.org>; Dyasly Sergey <s.dyasly at samsung.com>
> Subiect: Re: [ovs-dev] [PATCH] poll-loop: fix assertion in poll_create_node
> 
> Windows even handling selector functions is such that it does not like when
> fd is -1 (I have not root-caused the exact reason). This commit causes most of
> the unit tests on Windows to fail. So the larger question is, even though fd of
> zero is valid, do we really pass it to any of our poll node functions?
> 
> On Tue, Sep 22, 2015 at 9:34 AM, Ben Pfaff <blp at nicira.com> wrote:
> > Thanks, I understand now.  I applied this to master, changing Nikita's
> > Signed-off-by: to a Reported-by:.
> >
> > On Tue, Sep 22, 2015 at 07:30:47PM +0300, Ilya Maximets wrote:
> >> Author is me, Nikita found and analyzed the problem.
> >> You may change Signed-off-by to something more proper.
> >>
> >> Best regards, Ilya Maximets.
> >>
> >> On 22.09.2015 18:49, Ben Pfaff wrote:
> >> > On Tue, Sep 22, 2015 at 12:27:15PM +0300, Ilya Maximets wrote:
> >> >> Zero is a valid value for a file descriptor.
> >> >>
> >> >> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
> >> >> Signed-off-by: Nikita Kalyazin <n.kalyazin at samsung.com>
> >> >
> >> > Thanks for the patch!
> >> >
> >> > The sign-off chain is unclear.  Who is the author?  What did the
> >> > other person do?
> >> >
> >> > Thanks,
> >> >
> >> > Ben.
> >> >
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev


More information about the dev mailing list