From d88f7e69598b7352a51b9bb25d40bab3141575a7 Mon Sep 17 00:00:00 2001 From: jiangheng Date: Tue, 26 Dec 2023 22:20:49 +0800 Subject: [PATCH] remove duplicate log --- 0098-remove-duplicate-lwip-log.patch | 25 +++++++++++++++++++++++++ lwip.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0098-remove-duplicate-lwip-log.patch diff --git a/0098-remove-duplicate-lwip-log.patch b/0098-remove-duplicate-lwip-log.patch new file mode 100644 index 0000000..16a847d --- /dev/null +++ b/0098-remove-duplicate-lwip-log.patch @@ -0,0 +1,25 @@ +From 2d01f8467027e5a640ee6c7ed72d64d8e0247829 Mon Sep 17 00:00:00 2001 +From: jiangheng +Date: Wed, 27 Dec 2023 10:40:54 +0800 +Subject: [PATCH] remove duplicate log + +--- + src/core/tcp_in.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/core/tcp_in.c b/src/core/tcp_in.c +index e9ab96f..69dcd26 100644 +--- a/src/core/tcp_in.c ++++ b/src/core/tcp_in.c +@@ -764,7 +764,7 @@ tcp_listen_input(struct tcp_pcb_listen *pcb) + if (flags & TCP_ACK) { + /* For incoming segments with the ACK flag set, respond with a + RST. */ +- LWIP_DEBUGF(TCP_RST_DEBUG | GAZELLE_DEBUG_SERIOUS, ++ LWIP_DEBUGF(TCP_RST_DEBUG, + ("tcp_listen_input: ACK in LISTEN, send reset, local_port=%d, remote_port=%d\n", + tcphdr->dest, tcphdr->src)); + tcp_rst((const struct tcp_pcb *)pcb, ackno, seqno + tcplen, ip_current_dest_addr(), +-- +2.27.0 + diff --git a/lwip.spec b/lwip.spec index 699d902..22a4049 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.1.3 -Release: 100 +Release: 101 License: BSD URL: http://savannah.nongnu.org/projects/lwip/ Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip @@ -111,6 +111,7 @@ Patch9093: 0094-lwip-log-fix-reversed-port-in-tcp_input.patch Patch9094: 0095-event_callback-del-errevent-log-if-err-is-ERR_OK.patch Patch9095: 0096-tcp_send_fin-add-the-fin-to-the-last-unsent-segment.patch Patch9096: 0097-Mod-the-issue-that-2w-connection-unable-to-establish.patch +Patch9097: 0098-remove-duplicate-lwip-log.patch BuildRequires: gcc-c++ dos2unix dpdk-devel @@ -141,6 +142,9 @@ cd %{_builddir}/%{name}-%{version}/src %{_libdir}/liblwip.a %changelog +* Tue Dec 26 2023 jiangheng - 2.1.3-101 +- remove duplicate lwip log + * Mon Dec 25 2023 hankangkang - 2.1.3-100 - Mod the issue that 2w connection unable to establish