Wireshark-commits: [Wireshark-commits] master e5478f9: wmem_itree:update children max_edge after ro
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 14 Jul 2018 06:49:11 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e5478f9e84dd110482d3881192d5c50d15478862
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e5478f9 by Matthieu Coudron (mattator@xxxxxxxxx):

    wmem_itree:update children max_edge after rotation
    
    After a rotation, the post_rotation callback was just updating the root
    tree max_edge when it should also update its children since some of them
    might have lost or changed children.
    Any change in max_edge will bubble up/propagate to the parent.
    
    Change-Id: Ia6705d71de5c85847d51f97f86fd35f4da20c03a
    Reviewed-on: https://code.wireshark.org/review/28687
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  f20b05f   PROFINET: Refactoring
    adds  e5478f9   wmem_itree:update children max_edge after rotation


Summary of changes:
 epan/wmem/wmem_interval_tree.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)