Eric Dumazet aa39514516 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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-04-20 16:37:13 -07:00
..
2010-03-15 14:50:17 +01:00
2009-05-15 12:24:59 -04:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2009-10-31 12:11:38 -07:00
2008-08-29 02:13:10 -07:00
2010-01-18 10:48:08 -06:00
2010-02-09 11:13:56 +01:00
2010-04-20 16:37:13 -07:00
2008-12-28 20:00:03 +01:00
2010-02-09 11:13:56 +01:00
2009-12-10 08:54:15 -06:00
2009-12-10 08:54:13 -06:00