mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
sctp: avoid compiler warning on implicit fallthru
These fall-through are expected. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Reviewed-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6503a30440
commit
37f47bc90c
2 changed files with 3 additions and 2 deletions
|
@ -826,6 +826,7 @@ static int sctp_inet6_af_supported(sa_family_t family, struct sctp_sock *sp)
|
||||||
case AF_INET:
|
case AF_INET:
|
||||||
if (!__ipv6_only_sock(sctp_opt2sk(sp)))
|
if (!__ipv6_only_sock(sctp_opt2sk(sp)))
|
||||||
return 1;
|
return 1;
|
||||||
|
/* fallthru */
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -918,9 +918,9 @@ static void sctp_outq_flush(struct sctp_outq *q, int rtx_timeout, gfp_t gfp)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SCTP_CID_ABORT:
|
case SCTP_CID_ABORT:
|
||||||
if (sctp_test_T_bit(chunk)) {
|
if (sctp_test_T_bit(chunk))
|
||||||
packet->vtag = asoc->c.my_vtag;
|
packet->vtag = asoc->c.my_vtag;
|
||||||
}
|
/* fallthru */
|
||||||
/* The following chunks are "response" chunks, i.e.
|
/* The following chunks are "response" chunks, i.e.
|
||||||
* they are generated in response to something we
|
* they are generated in response to something we
|
||||||
* received. If we are sending these, then we can
|
* received. If we are sending these, then we can
|
||||||
|
|
Loading…
Reference in a new issue