• Jon Maloy's avatar
    tipc: remove joining group member from congested list · bb25c385
    Jon Maloy authored
    When we receive a JOIN message from a peer member, the message may
    contain an advertised window value ADV_IDLE that permits removing the
    member in question from the tipc_group::congested list. However, since
    the removal has been made conditional on that the advertised window is
    *not* ADV_IDLE, we miss this case. This has the effect that a sender
    sometimes may enter a state of permanent, false, broadcast congestion.
    
    We fix this by unconditinally removing the member from the congested
    list before calling tipc_member_update(), which might potentially sort
    it into the list again.
    Signed-off-by: default avatarJon Maloy <jon.maloy@ericsson.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    bb25c385
group.c 21.6 KB