From: Eric Dumazet Date: Tue, 20 Apr 2010 13:03:51 +0000 (+0000) Subject: net: sk_sleep() helper X-Git-Tag: v2.6.35-rc1~473^2~435 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa395145165cb06a0d0885221bbe0ce4a564391d;p=pandora-kernel.git net: sk_sleep() helper Define a new function to return the waitqueue of a "struct sock". static inline wait_queue_head_t *sk_sleep(struct sock *sk) { return sk->sk_sleep; } Change all read occurrences of sk_sleep by a call to this function. Needed for a future RCU conversion. sk_sleep wont be a field directly available. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed