1195972f6Sopenharmony_ciFrom 1ede4a00c1eca575314af02374846cb086798c08 Mon Sep 17 00:00:00 2001 2195972f6Sopenharmony_ciFrom: wu-changsheng <wuchangsheng2@huawei.com> 3195972f6Sopenharmony_ciDate: Tue, 20 Dec 2022 14:37:21 +0800 4195972f6Sopenharmony_ciSubject: [PATCH] add variable in struct sock 5195972f6Sopenharmony_ci 6195972f6Sopenharmony_ci--- 7195972f6Sopenharmony_ci src/include/lwipsock.h | 3 +-- 8195972f6Sopenharmony_ci 1 file changed, 1 insertion(+), 2 deletions(-) 9195972f6Sopenharmony_ci 10195972f6Sopenharmony_cidiff --git a/src/include/lwipsock.h b/src/include/lwipsock.h 11195972f6Sopenharmony_ciindex ec4d78c..8924728 100644 12195972f6Sopenharmony_ci--- a/src/include/lwipsock.h 13195972f6Sopenharmony_ci+++ b/src/include/lwipsock.h 14195972f6Sopenharmony_ci@@ -105,8 +105,7 @@ struct lwip_sock { 15195972f6Sopenharmony_ci char pad1 __rte_cache_aligned; 16195972f6Sopenharmony_ci /* app and stack thread all use */ 17195972f6Sopenharmony_ci uint32_t in_send; /* avoid sock too much send rpc msg*/ 18195972f6Sopenharmony_ci- pthread_spinlock_t sock_lock; 19195972f6Sopenharmony_ci- 20195972f6Sopenharmony_ci+ bool read_wait; 21195972f6Sopenharmony_ci char pad2 __rte_cache_aligned; 22195972f6Sopenharmony_ci /* stack thread all use */ 23195972f6Sopenharmony_ci struct list_node recv_list; 24195972f6Sopenharmony_ci-- 25195972f6Sopenharmony_ci2.23.0 26195972f6Sopenharmony_ci 27