• Allan Stephens's avatar
    tipc: Enhance filtering of out-dated link reset messages · 641c218d
    Allan Stephens authored
    Ensure TIPC ignores an out-dated link reset message whose session
    number predates the current session number. (Previously, TIPC only
    ignored an out-date reset message whose session number was equal
    to the current link session number.)
    
    Out-dated link reset messages should not occur under normal circumstances;
    however, they can be generated if a link endpoint is unable to send a
    link reset message right away and queues it for later delivery, but the
    queued message is not sent until after the link is established.
    
    Thanks to Laser [gotolaser@gmail.com] for diagnosing the problem and
    contributing a prototype patch.
    Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    641c218d
link.c 78.1 KB