Merge branch 'tcp-listener-fixes-and-improvement'
authorDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 09:46:26 +0000 (02:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 09:46:26 +0000 (02:46 -0700)
commit2472186f58ee1e4b9ca194245fef03931f6de90a
tree75c793a05dd64db3df05f804e429bae45ead20d1
parent3e087caa23ef36370bfb925d3bbca78e8302d3ce
parenta1a5344ddbe8fd3e080013b317ac9a664490cfdf
Merge branch 'tcp-listener-fixes-and-improvement'

Eric Dumazet says:

====================
tcp: lockless listener fixes and improvement

This fixes issues with TCP FastOpen vs lockless listeners,
and SYNACK being attached to request sockets.

Then, last patch brings performance improvement for
syncookies generation and validation.

Tested under a 4.3 Mpps SYNFLOOD attack, new perf profile looks
like :
    12.11%  [kernel]  [k] sha_transform
     5.83%  [kernel]  [k] tcp_conn_request
     4.59%  [kernel]  [k] __inet_lookup_listener
     4.11%  [kernel]  [k] ipt_do_table
     3.91%  [kernel]  [k] tcp_make_synack
     3.05%  [kernel]  [k] fib_table_lookup
     2.74%  [kernel]  [k] sock_wfree
     2.66%  [kernel]  [k] memcpy_erms
     2.12%  [kernel]  [k] tcp_v4_rcv
====================

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