Em Tue, Sep 25, 2007 at 03:30:21PM +0100, Gerrit Renker escreveu: > [DCCP]: Remove duplicate code for Reset from connected socket > > In this patch, duplicated code is removed for the case when a Reset packet is > sent from a connected socket. This code duplication is between dccp_make_reset > and dccp_transmit_skb, which already contained an (up to now entirely unused) > switch statement to fill in the reset code from the DCCP_SKB_CB. > > The only thing that has been removed is the call to dst_clone(dst), since > the queue_xmit functions use sk_dst_cache anyway. > > I wasn't sure which purpose inet_sk_rebuild_header served, so I left it in. I'll check this later, to finally remove that comment in dccp_send_reset > Signed-off-by: Gerrit Renker <gerrit@xxxxxxxxxxxxxx> Looks ok, applying. - Arnaldo - To unsubscribe from this list: send the line "unsubscribe dccp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html