!1402 [sync] PR-1390: TCP_IN: fix infinite loopping in func min_cnts_lpcb_get
From: @openeuler-sync-bot Reviewed-by: @compile_success Signed-off-by: @compile_success
This commit is contained in:
commit
5f71c10a62
@ -0,0 +1,26 @@
|
||||
From adaac65b8b854b42de4012ff8c93363008a6d90c Mon Sep 17 00:00:00 2001
|
||||
From: yinbin <yinbin8@huawei.com>
|
||||
Date: Thu, 13 Feb 2025 14:18:22 +0800
|
||||
Subject: [PATCH] TCP_IN: fix infinite loopping in func min_cnts_lpcb_get
|
||||
|
||||
---
|
||||
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 905f7cf..75a2a48 100644
|
||||
--- a/src/core/tcp_in.c
|
||||
+++ b/src/core/tcp_in.c
|
||||
@@ -137,8 +137,8 @@ struct tcp_pcb_listen *min_cnts_lpcb_get(struct tcp_pcb_listen *lpcb)
|
||||
min_cnts_lpcb = tmp_lpcb;
|
||||
min_conn_num = tmp_lpcb->connect_num;
|
||||
}
|
||||
- tmp_lpcb = tmp_lpcb->next_same_port_pcb;
|
||||
}
|
||||
+ tmp_lpcb = tmp_lpcb->next_same_port_pcb;
|
||||
}
|
||||
return min_cnts_lpcb;
|
||||
}
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
||||
Name: lwip
|
||||
Version: 2.2.0
|
||||
Release: 69
|
||||
Release: 70
|
||||
License: BSD
|
||||
URL: http://savannah.nongnu.org/projects/lwip/
|
||||
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
||||
@ -195,6 +195,7 @@ Patch9178: 0178-add-recv_block-in-lwip_sock.patch
|
||||
Patch9179: 0179-fix-pcb.tcp-null-pointer-error-when-netperf-recv-RST.patch
|
||||
|
||||
Patch9180: 0180-tso-max-frags-is-configurable.patch
|
||||
Patch9181: 0181-TCP_IN-fix-infinite-loopping-in-func-min_cnts_lpcb_g.patch
|
||||
|
||||
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
||||
|
||||
@ -224,6 +225,9 @@ cd %{_builddir}/%{name}-%{version}/src
|
||||
%{_libdir}/liblwip.a
|
||||
|
||||
%changelog
|
||||
* Thu Feb 13 2025 yinbin <yinbin8@huawei.com> - 2.2.0-70
|
||||
- TCP_IN: fix infinite loopping in func min_cnts_lpcb_get
|
||||
|
||||
* Sat Jan 18 2025 jiangheng <jiangheng14@huawei.com> - 2.2.0-69
|
||||
- tso: max frags is configurable
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user