[ovs-dev] 答复: [PATCH] ovs-rcu: Fix potential double free issue
diff mbox series

Message ID 1f8cf95840914d539a3a839a3feaaa11@baidu.com
State New
Headers show
Series
  • [ovs-dev] 答复: [PATCH] ovs-rcu: Fix potential double free issue
Related show

Commit Message

Wang,Li(ACG Cloud) June 25, 2019, 2:02 p.m. UTC
I made a mistake, please ignore this.

Patch
diff mbox series

diff --git a/lib/ovs-rcu.c b/lib/ovs-rcu.c
index ebc8120..3adfe5c 100644
--- a/lib/ovs-rcu.c
+++ b/lib/ovs-rcu.c
@@ -134,7 +134,6 @@  ovsrcu_quiesce_start(void)
     perthread = pthread_getspecific(perthread_key);
     if (perthread) {
         pthread_setspecific(perthread_key, NULL);
-        ovsrcu_unregister__(perthread);
     }

     ovsrcu_quiesced();