summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-06-21 21:13:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-23 13:34:07 +0200
commit072505f4ede34bc533396dd48275c117529bd5b9 (patch)
treeb53c74b10f24f470bc7dd5c9e2a1328e9227199e /scripts
parentf86ab0b1317ae1373f89edef945a63f564d06538 (diff)
downloadbarebox-072505f4ede34bc533396dd48275c117529bd5b9.tar.gz
barebox-072505f4ede34bc533396dd48275c117529bd5b9.tar.xz
ratp: completely ignore RST flagged packets in behavior G
The reference says: This procedure represents the behavior of the CLOSED state of a connection. All incoming packets are discarded. If the packet had the RST flag set take no action. Otherwise it is necessary to build a RST packet. So, skip building the RST packet if the incoming one had RST set. This commit fixes an infinite loop of messages sent and received between both ends during the connection close procedure, found when testing barebox against a third party ratp implementation. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions