Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187937
b: refs/heads/master
c: 6b03a53
h: refs/heads/master
i:
  187935: 53c2a20
v: v3
  • Loading branch information
Zhu Yi authored and David S. Miller committed Mar 5, 2010
1 parent 4a8c993 commit 0f4ea37
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 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: 8eae939f1400326b06d0c9afe53d2a484a326871
refs/heads/master: 6b03a53a5ab7ccf2d5d69f96cf1c739c4d2a8fb9
6 changes: 4 additions & 2 deletions trunk/net/ipv4/tcp_ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -1682,8 +1682,10 @@ int tcp_v4_rcv(struct sk_buff *skb)
if (!tcp_prequeue(sk, skb))
ret = tcp_v4_do_rcv(sk, skb);
}
} else
sk_add_backlog(sk, skb);
} else if (sk_add_backlog_limited(sk, skb)) {
bh_unlock_sock(sk);
goto discard_and_relse;
}
bh_unlock_sock(sk);

sock_put(sk);
Expand Down
6 changes: 4 additions & 2 deletions trunk/net/ipv6/tcp_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -1740,8 +1740,10 @@ static int tcp_v6_rcv(struct sk_buff *skb)
if (!tcp_prequeue(sk, skb))
ret = tcp_v6_do_rcv(sk, skb);
}
} else
sk_add_backlog(sk, skb);
} else if (sk_add_backlog_limited(sk, skb)) {
bh_unlock_sock(sk);
goto discard_and_relse;
}
bh_unlock_sock(sk);

sock_put(sk);
Expand Down

0 comments on commit 0f4ea37

Please sign in to comment.