[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111214.133528.1525977086673753829.davem@davemloft.net>
Date: Wed, 14 Dec 2011 13:35:28 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, ebiederm@...ssion.com
Subject: Re: [PATCH net-next] inet: remove rcu protection on tw_net
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 14 Dec 2011 15:58:33 +0100
> commit b099ce2602d806 (net: Batch inet_twsk_purge) added rcu protection
> on tw_net for no obvious reason.
>
> struct net are refcounted anyway since timewait sockets escape from rcu
> protected sections. tw_net stay valid for the whole timwait lifetime.
>
> This also removes a lot of sparse errors.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> CC: Eric W. Biederman <ebiederm@...ssion.com>
Applied.
--
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