tcp: Fix tcp_make_synack()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 8 Mar 2010 19:32:01 +0000 (11:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Mar 2010 19:32:01 +0000 (11:32 -0800)
commit28b2774a0d5852236dab77a4147b8b88548110f1
tree909580f2a71dcda319bc961d0ce24171020f44fd
parent9837638727488922727b0cfd438039fa73364183
tcp: Fix tcp_make_synack()

Commit 4957faad (TCPCT part 1g: Responder Cookie => Initiator), part
of TCP_COOKIE_TRANSACTION implementation, forgot to correctly size
synack skb in case user data must be included.

Many thanks to Mika Pentillä for spotting this error.

Reported-by: Penttillä Mika <mika.penttila@ixonos.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c