Author: tuexen
Date: Wed Jun 17 09:39:40 2015
New Revision: 284505
URL: https://svnweb.freebsd.org/changeset/base/284505

Log:
  MFC r284384:
  Stop the heartbeat timer when removing a net.
  Thanks to the reporter of
  https://code.google.com/p/sctp-refimpl/issues/detail?id=14
  for reporting the issue.

Modified:
  stable/10/sys/netinet/sctp_var.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/sctp_var.h
==============================================================================
--- stable/10/sys/netinet/sctp_var.h    Wed Jun 17 07:43:20 2015        
(r284504)
+++ stable/10/sys/netinet/sctp_var.h    Wed Jun 17 09:39:40 2015        
(r284505)
@@ -178,6 +178,7 @@ extern struct pr_usrreqs sctp_usrreqs;
                if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(&(__net)->ref_count)) { \
                        (void)SCTP_OS_TIMER_STOP(&(__net)->rxt_timer.timer); \
                        (void)SCTP_OS_TIMER_STOP(&(__net)->pmtu_timer.timer); \
+                       (void)SCTP_OS_TIMER_STOP(&(__net)->hb_timer.timer); \
                        if ((__net)->ro.ro_rt) { \
                                RTFREE((__net)->ro.ro_rt); \
                                (__net)->ro.ro_rt = NULL; \
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to