diff options
author | Eric Dumazet <edumazet@google.com> | 2012-06-03 21:50:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-04 17:27:39 +0200 |
commit | 90ba9b1986b5ac4b2d184575847147ea7c4280a2 (patch) | |
tree | 462289c5795f500049b83c2ccd96fa6b1586565e /net/ax25 | |
parent | Linux 3.5-rc1 (diff) | |
download | linux-90ba9b1986b5ac4b2d184575847147ea7c4280a2.tar.xz linux-90ba9b1986b5ac4b2d184575847147ea7c4280a2.zip |
tcp: tcp_make_synack() can use alloc_skb()
There is no value using sock_wmalloc() in tcp_make_synack().
A listener socket only sends SYNACK packets, they are not queued in a
socket queue, only in Qdisc and device layers, so the number of in
flight packets is limited in these layers. We used sock_wmalloc() with
the %force parameter set to 1 to ignore socket limits anyway.
This patch removes two atomic operations per SYNACK packet.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25')
0 files changed, 0 insertions, 0 deletions