!211 [sync] PR-207: fix TSO snd_nxt incorrectly update
From: @openeuler-sync-bot Reviewed-by: @jiangheng12 Signed-off-by: @jiangheng12
This commit is contained in:
commit
2b9b9b3a1f
@ -269,7 +269,7 @@ index 2834ba3..ee6f40b 100644
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ pre_pbuf = seg->p;
|
+ pre_pbuf = seg->p;
|
||||||
+ next_seqno = seg_seqno + seg->len;
|
+ next_seqno = seg_seqno + TCP_TCPLEN(seg);
|
||||||
+ seg = seg->next;
|
+ seg = seg->next;
|
||||||
+ pcb->unsent = seg;
|
+ pcb->unsent = seg;
|
||||||
+ pbuf_chain_len++;
|
+ pbuf_chain_len++;
|
||||||
|
|||||||
@ -176,7 +176,7 @@ index f53750b..55053d8 100644
|
|||||||
|
|
||||||
+ send_len += seg->len;
|
+ send_len += seg->len;
|
||||||
pre_pbuf = seg->p;
|
pre_pbuf = seg->p;
|
||||||
next_seqno = seg_seqno + seg->len;
|
next_seqno = seg_seqno + TCP_TCPLEN(seg);
|
||||||
seg = seg->next;
|
seg = seg->next;
|
||||||
@@ -1519,8 +1520,11 @@ tcp_output(struct tcp_pcb *pcb)
|
@@ -1519,8 +1520,11 @@ tcp_output(struct tcp_pcb *pcb)
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
||||||
Name: lwip
|
Name: lwip
|
||||||
Version: 2.1.3
|
Version: 2.1.3
|
||||||
Release: 39
|
Release: 40
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://savannah.nongnu.org/projects/lwip/
|
URL: http://savannah.nongnu.org/projects/lwip/
|
||||||
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
||||||
@ -141,6 +141,9 @@ cd %{_builddir}/%{name}-%{version}/src
|
|||||||
%{_libdir}/liblwip.a
|
%{_libdir}/liblwip.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 11 2023 majun<majun65@huawei.com> - 2.1.3-40
|
||||||
|
- fix TSO snd_nxt incorrectly update
|
||||||
|
|
||||||
* Fri Dec 30 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-39
|
* Fri Dec 30 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-39
|
||||||
- expand recv mbox size
|
- expand recv mbox size
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user