• V
    sctp: Make sure we always return valid retransmit path · d598b166
    Vlad Yasevich 提交于
    commit 4951feda0c60d1ef681f1a270afdd617924ab041
        sctp: Do no select unconfirmed transports for retransmissions
    
    added code to make sure that we do not select unconfirmed paths
    for data transmission.  This caused a problem when there are only
    2 paths, 1 unconfirmed and 1 unreachable.  In that case, the next
    retransmit path returned is NULL and that causes a kernel crash.
    
    The solution is to only change retransmit paths if we found one to use.
    Reported-by: NFrank Schuster <frank.schuster01@web.de>
    Signed-off-b: Vlad Yasevich <vladislav.yasevich@hp.com>
    d598b166
associola.c 45.3 KB