From: Eric Dumazet Date: Sun, 3 Jun 2012 19:50:43 +0000 (+0000) Subject: tcp: tcp_make_synack() can use alloc_skb() X-Git-Tag: v3.6-rc1~125^2~621 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90ba9b1986b5ac4b2d184575847147ea7c4280a2;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed