Wireshark-commits: [Wireshark-commits] master 9f9086c: packet-infiniband: Update conversation src p
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 13 Dec 2016 03:22:36 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9f9086c392d75487087c1acf2eac246276b692a9
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

9f9086c by Parav Pandit (paravpandit@xxxxxxxxx):

    packet-infiniband: Update conversation src port for exact lookup
    
    Dissectors above infiniband (such as RPC dissector)
    performs exact lookup on saddr, daddr, sport, dport. They are unaware
    that underlying transport is infiniband which doesn't have src_qp in
    packets. Due to which srcport remains uninitialized and exact lookup
    fails.
    In order to get them work seemlessly, this fix updates the sport
    to src_qp (similar to destport to dest_qp). With this upper level
    dissectors can perform direct lookup similar to TCP. Those which need to
    access private data of unidirectional CM messages, can still continue to
    perform unidirectional lookup as before.
    
    It also fixes the issue where req_qp and resp_qp were swapped during
    bidirectional conversation creation. This was caught during testing with
    packet-rpc.c by Chuck Lever.
    
    Tested protocols:
    1. nfs-rdma over Infiniband with trace of Bug 13213
    2. ICMP packets over Infiniband
    3. NVMe fabrics over RDMA
    Tested with trace of Bug 13201 for Nvme.
    
    Bug: 13202
    Bug: 13213
    Change-Id: Ica1b6aae3ccaa6642dc3b3edfa9a5a4c335cc5da
    Tested-by: paravpandit@xxxxxxxxx
    Reviewed-on: https://code.wireshark.org/review/19190
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  dd816a1   Update to WinSparkle 0.5.3.
    adds  9f9086c   packet-infiniband: Update conversation src port for exact lookup


Summary of changes:
 epan/dissectors/packet-infiniband.c |   26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)