Commit ea84e555 authored by Andreas Petlund's avatar Andreas Petlund Committed by David S. Miller

net: Corrected spelling error heurestics->heuristics

Corrected a spelling error in a function name.
Signed-off-by: default avatarAndreas Petlund <apetlund@simula.no>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ac5e3af9
...@@ -2300,7 +2300,7 @@ static inline int tcp_fackets_out(struct tcp_sock *tp) ...@@ -2300,7 +2300,7 @@ static inline int tcp_fackets_out(struct tcp_sock *tp)
* they differ. Since neither occurs due to loss, TCP should really * they differ. Since neither occurs due to loss, TCP should really
* ignore them. * ignore them.
*/ */
static inline int tcp_dupack_heurestics(struct tcp_sock *tp) static inline int tcp_dupack_heuristics(struct tcp_sock *tp)
{ {
return tcp_is_fack(tp) ? tp->fackets_out : tp->sacked_out + 1; return tcp_is_fack(tp) ? tp->fackets_out : tp->sacked_out + 1;
} }
...@@ -2425,7 +2425,7 @@ static int tcp_time_to_recover(struct sock *sk) ...@@ -2425,7 +2425,7 @@ static int tcp_time_to_recover(struct sock *sk)
return 1; return 1;
/* Not-A-Trick#2 : Classic rule... */ /* Not-A-Trick#2 : Classic rule... */
if (tcp_dupack_heurestics(tp) > tp->reordering) if (tcp_dupack_heuristics(tp) > tp->reordering)
return 1; return 1;
/* Trick#3 : when we use RFC2988 timer restart, fast /* Trick#3 : when we use RFC2988 timer restart, fast
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment