From: Benjamin LaHaise Date: Wed, 14 Dec 2005 07:22:19 +0000 (-0800) Subject: [NET]: Avoid atomic xchg() for non-error case X-Git-Tag: v2.6.16-rc1~474^2~22^2~9^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1cbe4b7ad0bc4b1d98ea708a3fecb7362aa4088;p=pandora-kernel.git [NET]: Avoid atomic xchg() for non-error case It also looks like there were 2 places where the test on sk_err was missing from the event wait logic (in sk_stream_wait_connect and sk_stream_wait_memory), while the rest of the sock_error() users look to be doing the right thing. This version of the patch fixes those, and cleans up a few places that were testing ->sk_err directly. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller --- Reading git-diff-tree failed