tcp: refactor to consolidate TFO passive open code
authorYuchung Cheng <ycheng@google.com>
Mon, 29 Apr 2019 22:46:19 +0000 (15:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 15:47:54 +0000 (11:47 -0400)
commit6b94b1c88b660a786fdb1c22d8a0d3529fe40f8c
tree94f9dd344ea2aa1a5dbee85f2746614b186403c0
parent794200d66273cbfa32cab2dbcd59a5db6b57a5d1
tcp: refactor to consolidate TFO passive open code

Use a helper to consolidate two identical code block for passive TFO.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c