[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120201.021808.298882655874661806.davem@davemloft.net>
Date: Wed, 01 Feb 2012 02:18:08 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: shawn.lu@...csson.com, netdev@...r.kernel.org, xiaoclu@...il.com
Subject: Re: [PATCH net-next] tcp: md5: protects md5sig_info with RCU
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 01 Feb 2012 05:45:40 +0100
> This patch makes sure we use appropriate memory barriers before
> publishing tp->md5sig_info, allowing tcp_md5_do_lookup() being used from
> tcp_v4_send_reset() without holding socket lock (upcoming patch from
> Shawn Lu)
>
> Note we also need to respect rcu grace period before its freeing, since
> we can free socket without this grace period thanks to
> SLAB_DESTROY_BY_RCU
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks.
--
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