Yuchung Cheng 0a672f7413 tcp: improve fastopen icmp handling
If a fast open socket is already accepted by the user, it should
be treated like a connected socket to record the ICMP error in
sk_softerr, so the user can fetch it. Do that in both tcp_v4_err
and tcp_v6_err.

Also refactor the sequence window check to improve readability
(e.g., there were two local variables named 'req').

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Daniel Lee <longinus00@gmail.com>
Signed-off-by: Jerry Chu <hkchu@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-13 17:53:03 -04:00
..
2014-05-13 17:43:20 -04:00
2014-05-13 13:17:24 -04:00
2014-05-07 16:06:05 -04:00
2014-05-13 17:43:20 -04:00
2014-04-20 18:18:55 -04:00
2014-05-13 17:53:03 -04:00
2014-05-13 17:53:03 -04:00
2014-02-12 19:26:32 -05:00
2014-05-12 14:03:41 -04:00
2014-05-09 15:59:45 -04:00
2014-05-12 14:03:41 -04:00
2014-04-16 15:15:05 -04:00