• Bernard Pidoux's avatar
    ROSE: AX25: finding routes simplification · 68aa3fd5
    Bernard Pidoux authored
    With previous patch, rose_get_neigh() routine
    investigates the full list of neighbor nodes
    until it finds or not an already connected node whether
    it is called locally or through a level 3 transit frame.
    If no routes are opened through an adjacent connected node
    then a classical connect request is attempted.
    
    Then there is no more reason for an extra loop such
    as the one removed by this patch.
    Signed-off-by: default avatarBernard Pidoux <f6bvp@free.fr>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    68aa3fd5
af_rose.c 38.2 KB