fix pingpong mode spelling error
(cherry picked from commit 69e4b0436186b998dd74dba88920431534312302)
This commit is contained in:
parent
1f2a097025
commit
9f5eff8f09
22
0177-pingpong-fix-spelling-error.patch
Normal file
22
0177-pingpong-fix-spelling-error.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff --git a/src/core/tcp_in.c b/src/core/tcp_in.c
|
||||
index abc6465..905f7cf 100644
|
||||
--- a/src/core/tcp_in.c
|
||||
+++ b/src/core/tcp_in.c
|
||||
@@ -2029,7 +2029,7 @@ tcp_receive(struct tcp_pcb *pcb)
|
||||
#endif /* TCP_OOSEQ_BYTES_LIMIT || TCP_OOSEQ_PBUFS_LIMIT */
|
||||
#endif /* TCP_QUEUE_OOSEQ */
|
||||
|
||||
-#if GAZELLE_TCP_PINGONG_MODE
|
||||
+#if GAZELLE_TCP_PINGPONG_MODE
|
||||
tcp_exit_pingpong(pcb); /* ooseq */
|
||||
#endif
|
||||
/* We send the ACK packet after we've (potentially) dealt with SACKs,
|
||||
@@ -2038,7 +2038,7 @@ tcp_receive(struct tcp_pcb *pcb)
|
||||
tcp_send_empty_ack(pcb);
|
||||
}
|
||||
} else {
|
||||
-#if GAZELLE_TCP_PINGONG_MODE
|
||||
+#if GAZELLE_TCP_PINGPONG_MODE
|
||||
tcp_exit_pingpong(pcb); /* out of window */
|
||||
#endif
|
||||
/* The incoming segment is not within the window. */
|
||||
@ -4,7 +4,7 @@
|
||||
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
||||
Name: lwip
|
||||
Version: 2.2.0
|
||||
Release: 65
|
||||
Release: 66
|
||||
License: BSD
|
||||
URL: http://savannah.nongnu.org/projects/lwip/
|
||||
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
||||
@ -190,6 +190,7 @@ Patch9174: 0175-fix-IFNAMSIZ-definition-conflict-between-lwip-and-ke.patch
|
||||
|
||||
Patch9175: 0176-fix-no-ack-response-when-lcoal-only-receive-but-not-.patch
|
||||
Patch9176: 0001-bug-free-sock-when-func-goto-out.patch
|
||||
Patch9177: 0177-pingpong-fix-spelling-error.patch
|
||||
|
||||
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
||||
|
||||
@ -219,6 +220,9 @@ cd %{_builddir}/%{name}-%{version}/src
|
||||
%{_libdir}/liblwip.a
|
||||
|
||||
%changelog
|
||||
* Fri Dec 6 2024 suchangzhi <suchangzhi_yewu@cmss.chinamobile.com> - 2.2.0-66
|
||||
- fix pingpong mode spelling error
|
||||
|
||||
* Thu Nov 28 2024 hankangkang <hankangkang5@huawei.com> - 2.2.0-65
|
||||
- bug: free sock when exit
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user