diff options
| author | Eric Dumazet <[email protected]> | 2015-10-16 20:00:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-10-19 05:26:02 +0000 |
| commit | dc6ef6be52154490c5c03f742e28bc781cc751b2 (patch) | |
| tree | 8e297dd00c9cef73f67424b72a5669d6a97d13f7 /net/ipv4/tcp_output.c | |
| parent | net: hix5hd2_gmac: avoid integer overload warning (diff) | |
| download | kernel-dc6ef6be52154490c5c03f742e28bc781cc751b2.tar.gz kernel-dc6ef6be52154490c5c03f742e28bc781cc751b2.zip | |
tcp: do not set queue_mapping on SYNACK
At the time of commit fff326990789 ("tcp: reflect SYN queue_mapping into
SYNACK packets") we had little ways to cope with SYN floods.
We no longer need to reflect incoming skb queue mappings, and instead
can pick a TX queue based on cpu cooking the SYNACK, with normal XPS
affinities.
Note that all SYNACK retransmits were picking TX queue 0, this no longer
is a win given that SYNACK rtx are now distributed on all cpus.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
| -rw-r--r-- | net/ipv4/tcp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 6e79fcb0addb..19adedb8c5cc 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -3518,7 +3518,7 @@ int tcp_rtx_synack(const struct sock *sk, struct request_sock *req) int res; tcp_rsk(req)->txhash = net_tx_rndhash(); - res = af_ops->send_synack(sk, NULL, &fl, req, 0, NULL, true); + res = af_ops->send_synack(sk, NULL, &fl, req, NULL, true); if (!res) { TCP_INC_STATS_BH(sock_net(sk), TCP_MIB_RETRANSSEGS); NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_TCPSYNRETRANS); |
