[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1286008441.2582.851.camel@edumazet-laptop>
Date: Sat, 02 Oct 2010 10:34:01 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Nagendra Tomar <tomer_iisc@...oo.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()
Le samedi 02 octobre 2010 à 10:27 +0200, Eric Dumazet a écrit :
> 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)
Could you please split your patch in two patches ?
The sk_stream_wait_connect() problems comes from commit
c1cbe4b7ad0bc4b1d9 ([NET]: Avoid atomic xchg() for non-error case)
--
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