* [PATCH] net: Corrected spelling error heurestics->heuristics
@ 2009-10-27 13:27 Andreas Petlund
2009-10-28 11:02 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Petlund @ 2009-10-27 13:27 UTC (permalink / raw)
To: netdev; +Cc: trivial, linux-kernel, ilpo.jarvinen
Corrected a spelling error in a function name.
Signed-off-by: Andreas Petlund <apetlund@simula.no>
---
net/ipv4/tcp_input.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index d86784b..a0c3700 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -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
* 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;
}
@@ -2425,7 +2425,7 @@ static int tcp_time_to_recover(struct sock *sk)
return 1;
/* Not-A-Trick#2 : Classic rule... */
- if (tcp_dupack_heurestics(tp) > tp->reordering)
+ if (tcp_dupack_heuristics(tp) > tp->reordering)
return 1;
/* Trick#3 : when we use RFC2988 timer restart, fast
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: Corrected spelling error heurestics->heuristics
2009-10-27 13:27 [PATCH] net: Corrected spelling error heurestics->heuristics Andreas Petlund
@ 2009-10-28 11:02 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-10-28 11:02 UTC (permalink / raw)
To: apetlund; +Cc: netdev, trivial, linux-kernel, ilpo.jarvinen
From: Andreas Petlund <apetlund@simula.no>
Date: Tue, 27 Oct 2009 14:27:21 +0100
> Corrected a spelling error in a function name.
>
> Signed-off-by: Andreas Petlund <apetlund@simula.no>
Applied to net-next-2.6, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-28 11:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-27 13:27 [PATCH] net: Corrected spelling error heurestics->heuristics Andreas Petlund
2009-10-28 11:02 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).