summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2008-08-28 20:14:07 +0000
committerrrs <rrs@FreeBSD.org>2008-08-28 20:14:07 +0000
commit4ea8bc5e012039a3ec067c1cd6765b2973b72078 (patch)
tree6cad3a4dd8fc2b03e2d4f0a821642e5e62b7f6a7 /sys/netinet
parentf4c1f42f3dd2f46c36267f03c24f71e332dd04b9 (diff)
downloadFreeBSD-src-4ea8bc5e012039a3ec067c1cd6765b2973b72078.zip
FreeBSD-src-4ea8bc5e012039a3ec067c1cd6765b2973b72078.tar.gz
Fixes compile error when INVARIANTs is on. Adds an
empty goto to keep the compiler happy.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctp_timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/sctp_timer.c b/sys/netinet/sctp_timer.c
index 73a1877..dcdc517 100644
--- a/sys/netinet/sctp_timer.c
+++ b/sys/netinet/sctp_timer.c
@@ -693,6 +693,8 @@ start_again:
recovery_cnt++;
#ifdef INVARIANTS
panic("last acked >= chk on sent-Q");
+ /* to keep compiler happy */
+ goto start_again;
#else
SCTP_PRINTF("Recover attempts a restart cnt:%d\n", recovery_cnt);
sctp_recover_sent_list(stcb);
OpenPOWER on IntegriCloud