• Gerrit Renker's avatar
    dccp: Combine the functionality of enqeueing and cloning · b25b0c60
    Gerrit Renker authored
    Realising the following call pattern,
     * first dccp_entail() is called to enqueue a new skb and
     * then skb_clone() is called to transmit a clone of that skb,
    
    this patch integrates both interrelated steps into dccp_entail().
    
    Note: the return value of skb_clone is not checked. It may be an idea to add a
          warning if this occurs. In both instances, however, a timer is set for
          retransmission, so that cloning is re-tried via dccp_retransmit_skb().
    Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    b25b0c60
output.c 20.2 KB