[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151201.154521.1008806049047479732.davem@davemloft.net>
Date: Tue, 01 Dec 2015 15:45:21 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, dvyukov@...gle.com,
hannes@...essinduktion.org, edumazet@...il.com
Subject: Re: [PATCH net 1/2] net: rename SOCK_ASYNC_NOSPACE and
SOCK_ASYNC_WAITDATA
From: Eric Dumazet <edumazet@...gle.com>
Date: Sun, 29 Nov 2015 20:03:10 -0800
> This patch is a cleanup to make following patch easier to
> review.
>
> Goal is to move SOCK_ASYNC_NOSPACE and SOCK_ASYNC_WAITDATA
> from (struct socket)->flags to a (struct socket_wq)->flags
> to benefit from RCU protection in sock_wake_async()
>
> To ease backports, we rename both constants.
>
> Two new helpers, sk_set_bit(int nr, struct sock *sk)
> and sk_clear_bit(int net, struct sock *sk) are added so that
> following patch can change their implementation.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable.
--
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