Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67077
b: refs/heads/master
c: f6fb128
h: refs/heads/master
i:
  67075: 2d61ec1
v: v3
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Oct 12, 2007
1 parent 2cc0dd3 commit c1a22a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3eec0047d9bdd68fddef6539e77fee99ba2531f2
refs/heads/master: f6fb128d272eb7b0f1a8be78153a724545e28be8
9 changes: 3 additions & 6 deletions trunk/net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_
flag |= FLAG_DATA_LOST;

tcp_for_write_queue_from(skb, sk) {
int in_sack, pcount;
int in_sack;
u8 sacked;

if (skb == tcp_send_head(sk))
Expand All @@ -1336,9 +1336,7 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_
in_sack = !after(start_seq, TCP_SKB_CB(skb)->seq) &&
!before(end_seq, TCP_SKB_CB(skb)->end_seq);

pcount = tcp_skb_pcount(skb);

if (pcount > 1 && !in_sack &&
if (tcp_skb_pcount(skb) > 1 && !in_sack &&
after(TCP_SKB_CB(skb)->end_seq, start_seq)) {
unsigned int pkt_len;

Expand All @@ -1353,10 +1351,9 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_
TCP_SKB_CB(skb)->seq);
if (tcp_fragment(sk, skb, pkt_len, skb_shinfo(skb)->gso_size))
break;
pcount = tcp_skb_pcount(skb);
}

fack_count += pcount;
fack_count += tcp_skb_pcount(skb);

sacked = TCP_SKB_CB(skb)->sacked;

Expand Down

0 comments on commit c1a22a7

Please sign in to comment.