]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp_get_info-locking'
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 18:02:28 +0000 (13:02 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 18:02:28 +0000 (13:02 -0500)
commitb03d9ba4b133486b9df6fa25f2171e9ccb29c2ac
treebf67250bf31cf1d0f05a696688efdf26d9033324
parent8b52f4d1a442115693b2babefd69e5ff76e9ff13
parent0b53a20039ce5d654572cd7f16a611f182af93c1
Merge branch 'tcp_get_info-locking'

Eric Dumazet says:

====================
tcp: tcp_get_info() locking changes

This short series prepares tcp_get_info() for more detailed infos.

In order to not slow down fast path, our goal is to use the normal
socket spinlock instead of custom synchronization.

All we need to ensure is that tcp_get_info() is not called with
ehash lock, which might dead lock, since packet processing would acquire
the spinlocks in reverse way.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>