Skip to content
Commit c68d7f1b authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parents 721ad321 67db3e4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment