From patchwork Tue Oct 27 13:27:21 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Petlund X-Patchwork-Id: 36983 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 8C39CB7BE6 for ; Wed, 28 Oct 2009 01:15:10 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751766AbZJ0OO7 (ORCPT ); Tue, 27 Oct 2009 10:14:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751533AbZJ0OO7 (ORCPT ); Tue, 27 Oct 2009 10:14:59 -0400 Received: from mail-forward1.uio.no ([129.240.10.70]:41118 "EHLO mail-forward1.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293AbZJ0OO6 (ORCPT ); Tue, 27 Oct 2009 10:14:58 -0400 X-Greylist: delayed 2851 seconds by postgrey-1.27 at vger.kernel.org; Tue, 27 Oct 2009 10:14:58 EDT Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1N2m5E-0007Z5-84 for netdev@vger.kernel.org; Tue, 27 Oct 2009 14:27:32 +0100 Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out1.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1N2m5E-0007Z2-6V; Tue, 27 Oct 2009 14:27:32 +0100 Received: from [128.39.37.254] (helo=[192.168.101.58]) by mail-mx2.uio.no with esmtpsa (TLSv1:AES256-SHA:256) user apetlund (Exim 4.69) (envelope-from ) id 1N2m5D-0007ZX-LO; Tue, 27 Oct 2009 14:27:32 +0100 Message-ID: <4AE6F539.1020107@simula.no> Date: Tue, 27 Oct 2009 14:27:21 +0100 From: Andreas Petlund User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: netdev@vger.kernel.org CC: trivial@kernel.org, linux-kernel@vger.kernel.org, ilpo.jarvinen@helsinki.fi Subject: [PATCH] net: Corrected spelling error heurestics->heuristics X-UiO-Ratelimit-Test: rcpts/h 4 msgs/h 1 sum rcpts/h 6 sum msgs/h 3 total rcpts 334 max rcpts/h 20 ratelimit 0 X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: D8BBEB4ACF55811E34684AFBAF5CADB838B1816A X-UiO-SPAM-Test: remote_host: 128.39.37.254 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 10 total 4063 max/h 42 blacklist 0 greylist 0 ratelimit 0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Corrected a spelling error in a function name. Signed-off-by: Andreas Petlund --- 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