]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tcp: Fix tcp_make_synack()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 8 Mar 2010 19:32:01 +0000 (11:32 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:02:11 +0000 (16:02 -0700)
commite3f1272e2083ee9cf0a21a405ff24b95c2423a97
tree38d2819c02772c41dd56510ca3b66975bf8e27eb
parentf1783b77374b69b6b91123da581e939caa13b7d1
tcp: Fix tcp_make_synack()

[ Upstream commit 28b2774a0d5852236dab77a4147b8b88548110f1 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/tcp_output.c