Re: [PATCH 2.6.35.7] net: Fix the condition passed to sk_wait_event()
From: Nagendra Tomar
Date: Sat Oct 02 2010 - 07:51:18 EST
--- On Sat, 2/10/10, Eric Dumazet <eric.dumazet@xxxxxxxxx> 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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/