
Hi
Is this code correct?
if (tcp_seq_num >= initial_data_seq_num && store_block(pkt, tcp_seq_num - initial_data_seq_num, len) != 0) { wget_fail("wget: store error\n", tcp_seq_num, tcp_ack_num, action); return; }
Can not be seq_num wrap around? Another point seems that is not guarantee packet reassembly
Michael
On Fri, Jan 5, 2024 at 8:53 PM Fabio Estevam festevam@gmail.com wrote:
On Fri, Jan 5, 2024 at 4:49 PM Michael Nazzareno Trimarchi michael@amarulasolutions.com wrote:
I was thinking that was lwip integration
That's a different issue.
If you want to test lwip integration, you can try it from: https://github.com/muvarov/u-boot/tree/master_lwip_test_v10