Page MenuHomeFreeBSD

D40622.diff
No OneTemporary

D40622.diff

diff --git a/sys/netinet/libalias/alias_sctp.c b/sys/netinet/libalias/alias_sctp.c
--- a/sys/netinet/libalias/alias_sctp.c
+++ b/sys/netinet/libalias/alias_sctp.c
@@ -1952,7 +1952,7 @@
RmGlobalIPAddresses(sm, assoc, direction);
break;
}
- /* fall through to default */
+ /* FALLTHROUGH */
default:
sctp_ResetTimeOut(la,assoc, SN_U_T(la));
return (SN_NAT_PKT); /* forward packet */
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -5041,7 +5041,7 @@
break;
case SCTP_HAS_NAT_SUPPORT:
*nat_friendly = 1;
- /* fall through */
+ /* FALLTHROUGH */
case SCTP_PRSCTP_SUPPORTED:
if (padded_size != sizeof(struct sctp_paramhdr)) {
SCTPDBG(SCTP_DEBUG_OUTPUT1, "Invalid size - error prsctp/nat support %d\n", plen);
diff --git a/sys/netinet/tcp_ecn.c b/sys/netinet/tcp_ecn.c
--- a/sys/netinet/tcp_ecn.c
+++ b/sys/netinet/tcp_ecn.c
@@ -318,10 +318,10 @@
switch (tcp_ecn_get_ace(thflags)) {
case 0b010:
/* nonECT SYN or SYN,ACK */
- /* Fallthrough */
+ /* FALLTHROUGH */
case 0b011:
/* ECT1 SYN or SYN,ACK */
- /* Fallthrough */
+ /* FALLTHROUGH */
case 0b100:
/* ECT0 SYN or SYN,ACK */
tp->t_scep = 5;
@@ -467,9 +467,9 @@
tp->t_flags2 |= TF2_ECN_PERMIT;
break;
case SCF_ACE_N:
- /* Fallthrough */
+ /* FALLTHROUGH */
case SCF_ACE_0:
- /* Fallthrough */
+ /* FALLTHROUGH */
case SCF_ACE_1:
tp->t_flags2 |= TF2_ACE_PERMIT;
tp->t_scep = 5;
diff --git a/sys/netinet/tcp_log_buf.c b/sys/netinet/tcp_log_buf.c
--- a/sys/netinet/tcp_log_buf.c
+++ b/sys/netinet/tcp_log_buf.c
@@ -1928,7 +1928,7 @@
case TCP_LOG_STATE_CLEAR:
while ((log_entry = STAILQ_FIRST(&tp->t_logs)) != NULL)
tcp_log_remove_log_head(tp, log_entry);
- /* Fall through */
+ /* FALLTHROUGH */
case TCP_LOG_STATE_OFF:
tp->_t_logstate = TCP_LOG_STATE_OFF;
diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -13807,7 +13807,7 @@
}
case EPERM:
tp->t_softerror = error;
- /* Fall through */
+ /* FALLTHROUGH */
case EHOSTDOWN:
case EHOSTUNREACH:
case ENETDOWN:

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 3:03 AM (20 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14753003
Default Alt Text
D40622.diff (2 KB)

Event Timeline