diff --git a/0177-pingpong-fix-spelling-error.patch b/0177-pingpong-fix-spelling-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..1c5d1c14be3065e65455967224b4df2c7a57e1cd --- /dev/null +++ b/0177-pingpong-fix-spelling-error.patch @@ -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. */ diff --git a/lwip.spec b/lwip.spec index 2fd341f3f1f525d99368fde81b0b52e223b9017f..42f5da2d84861729b7c9c37719425f9209ed4bc3 100644 --- a/lwip.spec +++ b/lwip.spec @@ -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 - 2.2.0-66 +- fix pingpong mode spelling error + * Thu Nov 28 2024 hankangkang - 2.2.0-65 - bug: free sock when exit