From 4dca0ef4785c1b77f6b00a24759aa7d8960a6a51 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Sat, 14 Apr 2012 21:01:44 +0000 Subject: [PATCH] Send always HBs when in PF state. MFC after: 1 week X-MFC with: r234296 --- sys/netinet/sctp_timer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/netinet/sctp_timer.c b/sys/netinet/sctp_timer.c index 8d7abcada7c5..10ae21e57754 100644 --- a/sys/netinet/sctp_timer.c +++ b/sys/netinet/sctp_timer.c @@ -1451,7 +1451,8 @@ sctp_heartbeat_timer(struct sctp_inpcb *inp, struct sctp_tcb *stcb, } else { ms_gone_by = 0xffffffff; } - if (ms_gone_by >= net->heart_beat_delay) { + if ((ms_gone_by >= net->heart_beat_delay) || + (net->dest_state & SCTP_ADDR_PF)) { sctp_send_hb(stcb, net, SCTP_SO_NOT_LOCKED); } }