• Allan Stephens's avatar
    tipc: Prevent loss of fragmented messages over broadcast link · 63e7f1ac
    Allan Stephens authored
    Modifies broadcast link so that an incoming fragmented message is not
    lost if reassembly cannot begin because there currently is no buffer
    big enough to hold the entire reassembled message. The broadcast link
    now ignores the first fragment completely, which causes the sending node
    to retransmit the first fragment so that reassembly can be re-attempted.
    
    Previously, the sender would have had no reason to retransmit the 1st
    fragment, so we would never have a chance to re-try the allocation.
    
    To do this cleanly without duplicaton, a new bclink_accept_pkt()
    function is introduced.
    Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    63e7f1ac
bcast.c 22.7 KB