diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-09-26 11:30:02 -0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:52:42 -0700 |
commit | ee1a15922d356aff0e31bf9bb9088ab346b8033a (patch) | |
tree | d7ace96d054e6af9f676ad63257f785f3fbb0f6e /include/asm-ia64 | |
parent | 0430ee3451f4589b68f522552b1896825f2043b3 (diff) | |
download | blackbird-op-linux-ee1a15922d356aff0e31bf9bb9088ab346b8033a.tar.gz blackbird-op-linux-ee1a15922d356aff0e31bf9bb9088ab346b8033a.zip |
[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.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'include/asm-ia64')
0 files changed, 0 insertions, 0 deletions