aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2018-03-24 11:42:57 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2018-03-24 10:45:20 +0000
commit14fbbc83356333b660b5c18f3b2e97f5ed9c06ca (patch)
tree60cd6f6f230a0e1b81f672f393a866837ff12713
parent4847076c7f7bc75e8d5b38724a1a89ddb64d5c3e (diff)
RPC-over-RDMA: add explicit fall through comments to please gcc 7.2.0
Change-Id: Ied55b2283da36dabd21768660f6824492cd569a1 Reviewed-on: https://code.wireshark.org/review/26624 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
-rw-r--r--epan/dissectors/packet-rpcrdma.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rpcrdma.c b/epan/dissectors/packet-rpcrdma.c
index f2d524202c..25ba96deed 100644
--- a/epan/dissectors/packet-rpcrdma.c
+++ b/epan/dissectors/packet-rpcrdma.c
@@ -1489,9 +1489,11 @@ dissect_rpcrdma_ib_heur(tvbuff_t *tvb, packet_info *pinfo,
break;
case RC_RDMA_WRITE_FIRST:
set_max_iosize(p_rdma_conv_info, tvb_reported_length(tvb));
+ /* fall through */
case RC_RDMA_WRITE_ONLY:
case RC_RDMA_WRITE_ONLY_IMM:
add_request_info(p_rdma_conv_info, pinfo);
+ /* fall through */
case RC_RDMA_WRITE_MIDDLE:
case RC_RDMA_WRITE_LAST:
case RC_RDMA_WRITE_LAST_IMM:
@@ -1508,8 +1510,10 @@ dissect_rpcrdma_ib_heur(tvbuff_t *tvb, packet_info *pinfo,
return FALSE;
case RC_RDMA_READ_RESPONSE_FIRST:
set_max_iosize(p_rdma_conv_info, tvb_reported_length(tvb));
+ /* fall through */
case RC_RDMA_READ_RESPONSE_MIDDLE:
more_frags = TRUE;
+ /* fall through */
case RC_RDMA_READ_RESPONSE_LAST:
case RC_RDMA_READ_RESPONSE_ONLY:
/* Add fragment to the reassembly table */