[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <786890.87789.qm@web53703.mail.re2.yahoo.com>
Date: Sat, 2 Oct 2010 04:49:20 -0700 (PDT)
From: Nagendra Tomar <tomer_iisc@...oo.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2.6.35.7] net: Fix the condition passed to sk_wait_event()
--- On Sat, 2/10/10, Eric Dumazet <eric.dumazet@...il.com> wrote:
> > Just wondering why you remove the test on sk->err
> ?
> >
> > We want to break the loop If sk->sk_err is set, or
> state is ESTABLISHED
> > or CLOSE_WAIT.
>
> Hmm, reading the code again, I can see sk_err is tested in
> the loop, so
> your code is better (sk_stream_wait_connect() returns an
> error after
> your patch, instead of returning 0)
Exactly.
>
> Could you please split your patch in two patches ?
>
ok, I'll send it soon.
Thanks,
Tomar
--
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