diff options
| author | Yasuharu Shibata <[email protected]> | 2024-08-14 21:41:07 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-15 11:32:12 -0600 |
| commit | dbb6b5a01098ea2b981cc35d21edd52d33b03f50 (patch) | |
| tree | 2221420aac0b1f70d4d39352e5babcbfd85aed6f /scripts/const_structs.checkpatch | |
| parent | 4f64730f8d00435d6350d9085ed7d38a77e583be (diff) | |
sandbox: fix wget test failure after fixing wget issue
After applying the following patch, wget test on sandbox failed[1].
Commit: cab7867cff ("net: wget: Support retransmission a dropped packet")
Here are two reasons why the test is failed and how to fix it:
1. tcp_ack is calculated by the wrong value.
tcp_ack needs to be calculated by the received TCP payload size.
2. wget command may have a problem that HTTP response from server
must be divided into more than two packets.
In this commit, HTTP response is divided into two packets.
In addition, I fixed the HTTP response returned at the correct timing.
[1] https://lore.kernel.org/u-boot/CAFLszThEbk2Jr8OZ6Hj21wPSnJjgJhaDe037RqwHvwt1KjB3_A@mail.gmail.com/
Signed-off-by: Yasuharu Shibata <[email protected]>
Reported-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
