diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-09-20 21:24:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-20 21:24:21 -0700 |
commit | 0e1c54c2a405494281e0639aacc90db03b50ae77 (patch) | |
tree | ba5098bdf80603d4b5aa74af11738620f2ea7681 /include | |
parent | 08ebd1721ab8fd362e90ae17b461c07b23fa2824 (diff) | |
download | op-kernel-dev-0e1c54c2a405494281e0639aacc90db03b50ae77.zip op-kernel-dev-0e1c54c2a405494281e0639aacc90db03b50ae77.tar.gz |
tcp: reorganize retransmit code loops
Both loops are quite similar, so they can be combined
with little effort. As a result, forward_skb_hint becomes
obsolete as well.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tcp.h | 1 | ||||
-rw-r--r-- | include/net/tcp.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index d7637c4..7672906 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h @@ -342,7 +342,6 @@ struct tcp_sock { struct sk_buff* lost_skb_hint; struct sk_buff *scoreboard_skb_hint; struct sk_buff *retransmit_skb_hint; - struct sk_buff *forward_skb_hint; struct sk_buff_head out_of_order_queue; /* Out of order segments go here */ diff --git a/include/net/tcp.h b/include/net/tcp.h index d0e90c5..220f54c 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -1042,7 +1042,6 @@ static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp) tp->lost_skb_hint = NULL; tp->scoreboard_skb_hint = NULL; tp->retransmit_skb_hint = NULL; - tp->forward_skb_hint = NULL; } /* MD5 Signature */ |