Commit 3f442d3 ("[tcp] Record ts_recent on first received packet") failed to achieve its stated intention. Fix this (and reduce the code size) by moving the ts_recent update to tcp_rx_seq(). This is the code responsible for advancing the window, called by both tcp_rx_syn() and tcp_rx_data(), and so the window check is now redundant. Reported-by: Frank Weed <zorbustheknight@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
| 74 |
|
74 |
|
| 75 |
|
75 |
|
| 76 |
|
76 |
|
| 77 |
|
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
| 78 |
|
84 |
|
| 79 |
|
85 |
|
| 80 |
|
86 |
|
|
|
||
| 740 |
|
746 |
|
| 741 |
|
747 |
|
| 742 |
|
748 |
|
|
749 |
|
|
|
750 |
|
|
|
751 |
|
|
|
752 |
|
|
|
753 |
|
|
| 743 |
|
754 |
|
|
755 |
|
|
|
756 |
|
|
| 744 |
|
757 |
|
| 745 |
|
758 |
|
| 746 |
|
759 |
|
| 747 |
|
760 |
|
| 748 |
|
761 |
|
|
762 |
|
|
|
763 |
|
|
|
764 |
|
|
|
765 |
|
|
|
766 |
|
|
| 749 |
|
767 |
|
| 750 |
|
768 |
|
| 751 |
|
769 |
|
|
|
||
| 1060 |
|
1078 |
|
| 1061 |
|
1079 |
|
| 1062 |
|
1080 |
|
| 1063 |
|
|
|
| 1064 |
|
1081 |
|
| 1065 |
|
1082 |
|
| 1066 |
|
1083 |
|
|
|
||
| 1100 |
|
1117 |
|
| 1101 |
|
1118 |
|
| 1102 |
|
1119 |
|
| 1103 |
|
|
|
|
1120 |
|
|
| 1104 |
|
1121 |
|
| 1105 |
|
1122 |
|
| 1106 |
|
1123 |
|
| 1107 |
|
1124 |
|
| 1108 |
|
1125 |
|
|
1126 |
|
|
|
1127 |
|
|
| 1109 |
|
1128 |
|
| 1110 |
|
1129 |
|
| 1111 |
|
1130 |
|
|
|
||
| 1152 |
|
1171 |
|
| 1153 |
|
1172 |
|
| 1154 |
|
1173 |
|
| 1155 |
|
|
|
| 1156 |
|
|
|
| 1157 |
|
|
|
| 1158 |
|
|
|
| 1159 |
|
|
|
| 1160 |
|
|
|
| 1161 |
|
1174 |
|
| 1162 |
|
1175 |
|
| 1163 |
|
1176 |
|