[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170109.170845.2114320955926994265.davem@davemloft.net>
Date: Mon, 09 Jan 2017 17:08:45 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, ycheng@...gle.com
Subject: Re: [PATCH net-next] tcp: make TCP_INFO more consistent
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 09 Jan 2017 10:29:27 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> tcp_get_info() has to lock the socket, so lets lock it
> for an extended critical section, so that various fields
> have consistent values.
>
> This solves an annoying issue that some applications
> reported when multiple counters are updated during one
> particular rx/rx event, and TCP_INFO was called from
> another cpu.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
Powered by blists - more mailing lists