mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 13:51:52 +00:00
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>
This commit is contained in:
parent
08ebd1721a
commit
0e1c54c2a4
3 changed files with 33 additions and 48 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue