Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188873
b: refs/heads/master
c: 6830c25
h: refs/heads/master
i:
  188871: 1c7f78e
v: v3
  • Loading branch information
Lennart Schulte authored and David S. Miller committed Mar 20, 2010
1 parent 0cac442 commit 3e20c7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a50436f2cd6e85794f7e1aad795ca8302177b896
refs/heads/master: 6830c25b7d08fbbd922959425193791bc42079f2
3 changes: 3 additions & 0 deletions trunk/net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -2511,6 +2511,9 @@ static void tcp_mark_head_lost(struct sock *sk, int packets)
int err;
unsigned int mss;

if (packets == 0)
return;

WARN_ON(packets > tp->packets_out);
if (tp->lost_skb_hint) {
skb = tp->lost_skb_hint;
Expand Down

0 comments on commit 3e20c7d

Please sign in to comment.