tcp: tcp_make_synack() minor changes
authorEric Dumazet <edumazet@google.com>
Wed, 26 Mar 2014 16:57:19 +0000 (09:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Mar 2014 19:10:10 +0000 (15:10 -0400)
commita0b8486caf4739c09eba651da49efba07c8b6433
treeeb72ca7c96dc2bb27eb709f3fa1c13124bd6bdfb
parente5fd387ad5b30ca3971fbccb0735c843cdebf967
tcp: tcp_make_synack() minor changes

There is no need to allocate 15 bytes in excess for a SYNACK packet,
as it contains no data, only headers.

SYNACK are always generated in softirq context, and contain a single
segment, we can use TCP_INC_STATS_BH()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c