Wireshark-commits: [Wireshark-commits] master 7561785: FTDI MPSSE: Speed up malformed captures diss
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 13 Jul 2020 05:13:07 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=756178514f4d6869b95c14da933d4898ffedd3fd
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

7561785 by Tomasz Moń (desowin@xxxxxxxxx):

    FTDI MPSSE: Speed up malformed captures dissection
    
    Maintain separate RX and TX command info trees. When dissecting TX
    packets during the first pass, the code has to traverse no more entries
    than added by single TX packet. After the first pass there is no longer
    a need to find the correct spot in the list, as the TX command info tree
    points directly to the correct location.
    
    Ping-Bug: 16691
    Change-Id: Ie4a1d2e1152876b8b0a09308ed5a182b9a2e2895
    Reviewed-on: https://code.wireshark.org/review/37837
    Petri-Dish: Tomasz Moń <desowin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  32a804d   kafka: snappy: free the composite tvb only once
     add  7561785   FTDI MPSSE: Speed up malformed captures dissection


Summary of changes:
 epan/dissectors/packet-ftdi-mpsse.c | 74 +++++++++++++++++++++++++------------
 1 file changed, 50 insertions(+), 24 deletions(-)