[PATCH 00/16] RATP logic fixes and improvements
Aleksander Morgado
aleksander at aleksander.es
Thu Jun 15 04:14:04 PDT 2017
Hey Sascha,
I went through the RFC916 and ended up preparing a set of fixes and improvements for the RATP logic in barebox.
Let me know what you think.
Cheers!
Aleksander Morgado (16):
ratp: add missing transition to SYN-RECEIVED in behavior B
ratp: avoid unnecessary variable initializations
ratp: send missing RST in behavior C2
ratp: add missing RST flag in behavior G
ratp: completely ignore RST flagged packets in behavior G
ratp: fix data presence check
ratp: fix single byte sending flagged with SO
ratp: remove bogus data checks in behavior C2
ratp: remove FIXME comment: FIN always requires ACK
ratp: fix sending ACKs without data
ratp: consolidate ratp_sn_expected() and ratp_an_expected()
ratp: prefer using ratp_send_ack() in behaviour I1
ratp: send initial data in behaviour B if any pending
ratp: don't ignore data that may arrive in behaviour H1
ratp: consolidate setting the next AN or SN flags
ratp: user close may happen in SYN-RECEIVED state
lib/ratp.c | 116 +++++++++++++++++++++++++++----------------------
scripts/remote/ratp.py | 38 +++++++---------
2 files changed, 78 insertions(+), 76 deletions(-)
--
2.13.1
More information about the barebox
mailing list