Browse code

rtpenegine: fixed rtpp_node permanent deletion causing PDD

rtpp_node->rn_recheck_ticks was never set this means in-memory rtpengine were
never permanently deletion causing PDD for the calls requiring rtpengine

Muhammad Zaka authored on 13/07/2018 15:56:56
Showing 1 changed files
... ...
@@ -454,7 +454,8 @@ static int is_queried_node(struct rtpp_node *node, struct rtpp_node **queried_no
454 454
 int rtpengine_delete_node(struct rtpp_node *rtpp_node)
455 455
 {
456 456
 	rtpp_node->rn_displayed = 0;
457
-	rtpp_node->rn_disabled = RTPENGINE_MAX_RECHECK_TICKS;
457
+	rtpp_node->rn_disabled = 1;
458
+	rtpp_node->rn_recheck_ticks = RTPENGINE_MAX_RECHECK_TICKS;
458 459
 
459 460
 	return 1;
460 461
 }