summaryrefslogtreecommitdiffstats
path: root/net/sctp/outqueue.c
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>2018-01-11 14:22:06 -0200
committerDavid S. Miller <davem@davemloft.net>2018-01-15 13:56:13 -0500
commit37f47bc90c7481e7959703ad1defc4fc9f5d85e3 (patch)
tree0288229f24894e19819f189e760cb39bfe63594c /net/sctp/outqueue.c
parent6503a30440962f1e1ccb8868816b4e18201218d4 (diff)
downloadlinux-37f47bc90c7481e7959703ad1defc4fc9f5d85e3.tar.gz
linux-37f47bc90c7481e7959703ad1defc4fc9f5d85e3.tar.bz2
linux-37f47bc90c7481e7959703ad1defc4fc9f5d85e3.zip
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>
Diffstat (limited to 'net/sctp/outqueue.c')
-rw-r--r--net/sctp/outqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/outqueue.c b/net/sctp/outqueue.c
index 7d67feeeffc1..c4ec99b20150 100644
--- a/net/sctp/outqueue.c
+++ b/net/sctp/outqueue.c
@@ -918,9 +918,9 @@ static void sctp_outq_flush(struct sctp_outq *q, int rtx_timeout, gfp_t gfp)
break;
case SCTP_CID_ABORT:
- if (sctp_test_T_bit(chunk)) {
+ if (sctp_test_T_bit(chunk))
packet->vtag = asoc->c.my_vtag;
- }
+ /* fallthru */
/* The following chunks are "response" chunks, i.e.
* they are generated in response to something we
* received. If we are sending these, then we can