commit | b282705336e03fc7b9377a278939594870a40f96 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sun Mar 22 10:22:21 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 23 16:52:26 2015 -0400 |
tree | fbb9b0bf127fb3910e65b6ff6566fc12396385e4 | |
parent | 8b929ab12fb2ab960adb3c3ec8d107fef5ff3243 [diff] |
net: convert syn_wait_lock to a spinlock This is a low hanging fruit, as we'll get rid of syn_wait_lock eventually. We hold syn_wait_lock for such small sections, that it makes no sense to use a read/write lock. A spin lock is simply faster. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>