From: Yuchung Cheng Date: Mon, 12 May 2014 03:22:12 +0000 (-0700) Subject: tcp: improve fastopen icmp handling X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~239^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a672f74131dd682087dfd5f45bf61f95804772e;p=pandora-kernel.git 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 Signed-off-by: Daniel Lee Signed-off-by: Jerry Chu Acked-by: Neal Cardwell Signed-off-by: David S. Miller --- Reading git-diff-tree failed