• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From 1ede4a00c1eca575314af02374846cb086798c08 Mon Sep 17 00:00:00 2001
2From: wu-changsheng <wuchangsheng2@huawei.com>
3Date: Tue, 20 Dec 2022 14:37:21 +0800
4Subject: [PATCH] add variable in struct sock
5
6---
7 src/include/lwipsock.h | 3 +--
8 1 file changed, 1 insertion(+), 2 deletions(-)
9
10diff --git a/src/include/lwipsock.h b/src/include/lwipsock.h
11index ec4d78c..8924728 100644
12--- a/src/include/lwipsock.h
13+++ b/src/include/lwipsock.h
14@@ -105,8 +105,7 @@ struct lwip_sock {
15   char pad1 __rte_cache_aligned;
16   /* app and stack thread all use */
17   uint32_t in_send; /* avoid sock too much send rpc msg*/
18-  pthread_spinlock_t sock_lock;
19-
20+  bool read_wait;
21   char pad2 __rte_cache_aligned;
22   /* stack thread all use */
23   struct list_node recv_list;
24--
252.23.0
26
27