]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitc68d7f1b637cfd1e09801b38a9dc9200e15f1337
treebf67250bf31cf1d0f05a696688efdf26d9033324
parent721ad32144bd8c09dc70fe03b470b44e79fbbef5
parent67db3e4bfbc90657c7be840aad5585be46240d6f
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>