Skip to content

Commit

Permalink
[heartbeat] reset PMTUd on link down to trigger a new PMTUd when link…
Browse files Browse the repository at this point in the history
… come back online

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Jan 16, 2017
1 parent 17edfd1 commit d45f533
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libknet/threads_heartbeat.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

static void _link_down(knet_handle_t knet_h, struct knet_host *dst_host, struct knet_link *dst_link)
{
memset(&dst_link->pmtud_last, 0, sizeof(struct timespec));
dst_link->received_pong = 0;
dst_link->status.pong_last.tv_nsec = 0;
if (dst_link->status.connected == 1) {
Expand Down

0 comments on commit d45f533

Please sign in to comment.