• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From 19c51d7baf7eeeae72525f6b716253557be2b31c Mon Sep 17 00:00:00 2001
2From: wuchangsheng <wuchangsheng2@huawei.com>
3Date: Tue, 29 Jun 2021 14:12:25 +0800
4Subject: [PATCH] add-conn-check
5
6---
7 src/core/tcp_in.c | 4 ++++
8 1 file changed, 4 insertions(+)
9
10diff --git a/src/core/tcp_in.c b/src/core/tcp_in.c
11index c3d1f54..57186c7 100644
12--- a/src/core/tcp_in.c
13+++ b/src/core/tcp_in.c
14@@ -752,6 +752,10 @@ tcp_listen_input(struct tcp_pcb_listen *pcb)
15 #endif
16     TCP_REG_ACTIVE(npcb);
17
18+#if USE_LIBOS
19+    vdev_reg_done(REG_RING_TCP_CONNECT, npcb);
20+#endif
21+
22     /* Parse any options in the SYN. */
23     tcp_parseopt(npcb);
24     npcb->snd_wnd = tcphdr->wnd;
25--
262.23.0
27
28