Skip to content

Commit

Permalink
[pmtud] switch to use async version of dstcache update due to locking…
Browse files Browse the repository at this point in the history
… context (read vs write)

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Sep 10, 2019
1 parent 4df82e5 commit 15eab6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libknet/threads_pmtud.c
Expand Up @@ -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;
Expand Down

0 comments on commit 15eab6b

Please sign in to comment.