Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88256
b: refs/heads/master
c: 6adb4f7
h: refs/heads/master
v: v3
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Apr 8, 2008
1 parent 12de798 commit 15c93eb
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 882bebaaca4bb1484078d44ef011f918c0e1e14e
refs/heads/master: 6adb4f733e9996b4fd68a6db50dd51bd2463ccac
5 changes: 5 additions & 0 deletions trunk/net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1691,11 +1691,16 @@ static inline void tcp_reset_reno_sack(struct tcp_sock *tp)
int tcp_use_frto(struct sock *sk)
{
const struct tcp_sock *tp = tcp_sk(sk);
const struct inet_connection_sock *icsk = inet_csk(sk);
struct sk_buff *skb;

if (!sysctl_tcp_frto)
return 0;

/* MTU probe and F-RTO won't really play nicely along currently */
if (icsk->icsk_mtup.probe_size)
return 0;

if (IsSackFrto())
return 1;

Expand Down

0 comments on commit 15c93eb

Please sign in to comment.