diff options
author | Jorge Mora <jmora1300@gmail.com> | 2021-08-25 14:15:39 -0600 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-08-31 08:14:31 +0000 |
commit | 981ec7f3c7740c4b41eb072be0408c1df870dc05 (patch) | |
tree | e801a54af8bfe7af399b27a0fc28e542d61d5541 /epan/exported_pdu.c | |
parent | e446bbc3e725fbe4c4ba392065be646a64ae45c5 (diff) |
iwarp_mpa: fix iWarp MPA for NFS-over-RDMA
On the first packet of the conversation, the MPA layer is
dissected correctly followed by the DDP, RDMAP, RPC-over-RDMA,
RPC and NFS layers. The MPA layer sets the TCP conversation as
MPA protocol but when it dissects the RPC layer it also sets
the TCP conversation as RPC protocol thus overwriting the previous
protocol.
Added new port type PT_IWARP_MPA so that when the RPC layer
is dissected it does not overwrite the default protocol for
the TCP conversation which has already been set to MPA.
Fixes #15869.
Diffstat (limited to 'epan/exported_pdu.c')
-rw-r--r-- | epan/exported_pdu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/exported_pdu.c b/epan/exported_pdu.c index 789d165962..0fe97ed31e 100644 --- a/epan/exported_pdu.c +++ b/epan/exported_pdu.c @@ -110,6 +110,8 @@ static guint exp_pdu_ws_port_type_to_exp_pdu_port_type(port_type pt) return EXP_PDU_PT_IBQP; case PT_BLUETOOTH: return EXP_PDU_PT_BLUETOOTH; + case PT_IWARP_MPA: + return EXP_PDU_PT_IWARP_MPA; } DISSECTOR_ASSERT(FALSE); |