Wireshark-commits: [Wireshark-commits] master 2462f9e: packet-rpcrdma: Fix protocol frame pre-detec
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 2 Dec 2016 22:45:53 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2462f9e8103b23c2728cc5aa84995e0b2f363f12
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2462f9e by Chuck Lever (chuck.lever@xxxxxxxxxx):

    packet-rpcrdma: Fix protocol frame pre-detection
    
    The current mechanism of detecting RPC-over-RDMA is broken because
    it treats the Read list as a counted array (it's a list); and treats
    the Write list and Reply chunk identically (one is a list, one is
    always a single chunk).
    
    While we're here, refactor pre-detection helper functions so they
    can be used during frame dissection as well.
    
    Bug: 13196
    Change-Id: I76e210c8d2a9464fed00e7199072d37f4ebbebf2
    Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
    Reviewed-on: https://code.wireshark.org/review/19025
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  54f48c8   echo: decide on req/resp based on matched port
    adds  2462f9e   packet-rpcrdma: Fix protocol frame pre-detection


Summary of changes:
 epan/dissectors/packet-rpcrdma.c |  127 +++++++++++++++++++++++++++-----------
 1 file changed, 90 insertions(+), 37 deletions(-)