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>
This commit is contained in:
Pascal Quantin 2018-03-24 11:42:57 +01:00
parent 4847076c7f
commit 14fbbc8335
1 changed files with 4 additions and 0 deletions

View File

@ -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 */