Wireshark-commits: [Wireshark-commits] master 40c618e: Infiniband: Use base of packet tree (top_tre

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 28 Dec 2016 08:59:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=40c618eac5034ebf53da664dfe5cea9b319a0f68
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

40c618e by Michael Mann (mmann78@xxxxxxxxxxxx):

    Infiniband: Use base of packet tree (top_tree) for "infiniband.mad.cm.private" heuristic dissector.
    
    The "infiniband.payload" heuristic dissector was converted to use the base
    of the packet tree so that subdissectors could show their protocol as the
    base layer.  Since many of the subdissectors use the same dissection function
    for both "infiniband.payload" and "infiniband.mad.cm.private", ensure that
    both use the same "tree level", but still pass in the "payload tree" as part
    of the dissector data in case a subdissector wants to use it (currently used
    by InfinibandSDP)
    
    Ping-Bug: 13259
    Change-Id: I899e8348f6b23d8eee9e74764d8ca32d7bf6e625
    Tested-by: paravpandit@xxxxxxxxx
    Reviewed-on: https://code.wireshark.org/review/19441
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Reviewed-by: Parav Pandit <paravpandit@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  0e3841c   ISAKMP: add traffic selector subtree
    adds  40c618e   Infiniband: Use base of packet tree (top_tree) for "infiniband.mad.cm.private" heuristic dissector.


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