From 15eab6b15b1353a80e2bf7c933f3da1c4d9f5f4a Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Mon, 9 Sep 2019 15:11:25 +0200 Subject: [PATCH] [pmtud] switch to use async version of dstcache update due to locking context (read vs write) Signed-off-by: Fabio M. Di Nitto --- libknet/threads_pmtud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libknet/threads_pmtud.c b/libknet/threads_pmtud.c index 6f3af26a0..75d51962f 100644 --- a/libknet/threads_pmtud.c +++ b/libknet/threads_pmtud.c @@ -503,7 +503,7 @@ static int _handle_check_pmtud(knet_handle_t knet_h, struct knet_host *dst_host, } if (saved_valid_pmtud != dst_link->has_valid_mtu) { - _host_dstcache_update_sync(knet_h, dst_host); + _host_dstcache_update_async(knet_h, dst_host); } return dst_link->has_valid_mtu;