Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp265595imu; Thu, 8 Nov 2018 01:18:21 -0800 (PST) X-Google-Smtp-Source: AJdET5dnJceznP2JawvhEZ5GEAT5NCqGJen4DhMNqECr/zq4sgPUG4ZzoH311/vzS3IEdDbbzEYm X-Received: by 2002:a17:902:bc44:: with SMTP id t4-v6mr3684275plz.300.1541668700939; Thu, 08 Nov 2018 01:18:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541668700; cv=none; d=google.com; s=arc-20160816; b=Be7uDuJpRMFsyxvp038srtBkOvXvRmolO/ceZNLIFOSMdX9tEZpschOijjBAlZ0axk r/VrFPng7k+1KzNMI9AAyOIsfhF55vAEwMhUqie3LTBKM9KFvGBYhs7HWwQbQI3jApXe o8QBMl9Kp/ESsXIDdjj0uF+xoOSq7AyodEqhes5VCZVBdsMYk8jyoM1lUreXPfIousQB ggLeJrpTIIpQdQqtuF2GBrsDcbE68ty5X347rA6xVqibY54nD1KxIYoQEJdVhp5n9x5F lORwzcyKctniu1bU/gKKwMLAPgE0CV8qG6o2SQnYGLFlAwgnMZmt4IwakhtAW21kEVV8 UKFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=OjSNxab0dulnRx7IrdL9nFcuFNvWc9J5o9tlVktOsII=; b=xKA4h1V+nnglP1IjVKSFlMn5EgySVmTD/c5aLsmRC7htjtnY+e0Pg73EAZMk9ZNxq2 egve3phSDA+09Jd+4HBOo3LyEgy/pFNlYvrIBdTN1KPmd/5M9Ok6xGC7DHeZJa6qVgzF +7+QwS7ftSmp0AmJA51t2/O/cQwxtmMM3QPvgy20o1fKXjmo3Qmaula4ssC2ifa6Fk0x SHrMT9G5j1fbAr2MkKYPIDVbcNfirFT03rD8t9pYzPNfpCQx56K7exbixztqK18zxzzL +kJSPou7dRqkRP1yMmHausr1y7eZyXPf5OPd2o7ycWyIdQYTuDH6ynF1J1VHUFHM8szo /CYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RZQEYtut; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m33si2915908pgl.379.2018.11.08.01.18.05; Thu, 08 Nov 2018 01:18:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RZQEYtut; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727164AbeKHSvw (ORCPT + 99 others); Thu, 8 Nov 2018 13:51:52 -0500 Received: from mail-pl1-f169.google.com ([209.85.214.169]:44418 "EHLO mail-pl1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726133AbeKHSvw (ORCPT ); Thu, 8 Nov 2018 13:51:52 -0500 Received: by mail-pl1-f169.google.com with SMTP id s5-v6so9244582plq.11; Thu, 08 Nov 2018 01:17:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OjSNxab0dulnRx7IrdL9nFcuFNvWc9J5o9tlVktOsII=; b=RZQEYtutxYI/HJnMGfl1VBk3TP3b2n0nNRzcBkwoILJQJGeRynrdZAjQGenfOh40E5 Ac+FoirbzsK++ru3U1AEEocdXgy2uF84horzTLLYbClOuhj6LkWOo690fE1wG0MzS0XA vENkBZO64gjk2cihwdPfoy72/+2DvSBAOWjgTianf6BtFCtWPEaOt0RkmCCD4qaJb3A7 9RSNBfvn5xaeg5YkWTCGAkzTQQlmbc/qphPKo4txg3w1DOX5UVFKhIWL5yOteB0/fIAF HmAjZdcHyR/Go/Pd3+Ps5+rZQO9yuJ7pABbR1A7xXD8ZGniay7HMW+M6NrV+NUJUGmy0 i2pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OjSNxab0dulnRx7IrdL9nFcuFNvWc9J5o9tlVktOsII=; b=gXqQc6reYMHFPFQBm/1K+PRpq7STXIjrppktQLVlja55C+g6/T4KSIz/b1j3xQk4jX pZMncEkrILiel+b9oKL+Tg4dx/lKrHzPDvisRiBgr5kIWnuCqFSAdLRjixTf/xz8Me+J XvaewTDtXIQYeAc303VTs0yBFZ8dXa+RPHCcjfwSSYWeBcwFUBM5pYBPZJ3wrCfR2cJL LnPVXf7nkRe7/Y2J1T3wTmVOjQpESwmKMdBtUJ/Yx6rg0mj78RczL2JWvaDso0jVo2A5 QyTK/gu/KhbnF9mlZUM2SchEHducteQFKNzTz3DOonh1w53eY35tOy/DU5PH5BsaIZvS znbQ== X-Gm-Message-State: AGRZ1gJ++kPNz15095scwnaa58F9Fmte5Xc47439M/wUsPDDrzXsjByh 8BB9rasucpDg4YDwkPd0OSWQGbalUK0= X-Received: by 2002:a17:902:930a:: with SMTP id bc10-v6mr3882065plb.17.1541668636914; Thu, 08 Nov 2018 01:17:16 -0800 (PST) Received: from localhost.localdomain ([2405:204:54a3:4742:28e4:be46:8b17:69ab]) by smtp.gmail.com with ESMTPSA id 27-v6sm4278815pfm.36.2018.11.08.01.17.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Nov 2018 01:17:16 -0800 (PST) From: Suraj Singh To: davem@davemloft.net Cc: kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, suraj1998@gmail.com, Suraj Singh Subject: Re: net: ipv4: tcp_westwood: fixed warnings and checks Date: Thu, 8 Nov 2018 14:46:56 +0530 Message-Id: <1541668616-9229-1-git-send-email-suraj1998@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541425985-31869-1-git-send-email-suraj1998@gmail.com> References: <1541425985-31869-1-git-send-email-suraj1998@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Suraj Singh Regrding why I used "staging: " in the commmit message, I was following Greg Kroah-Hartman's video on YouTube on how to submit your first patch, and in his sample commit, he'd started his commit message with "staging: ", and so I thought it was convention to do so. I'll remove that immediately. I made this same mistake in another patch that I just sent for TCP Vegas, I'll make the change there as well. I didn't consider the complexities of calling the same function twice. I was looking more towards satisying the scriptpatch.pl's requirements. - tp->snd_cwnd = tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); + tp->snd_cwnd = tcp_westwood_bw_rttmin(sk); + tp->snd_ssthresh = tcp_westwood_bw_rttmin(sk); I've made the same mistake here. I'll make these changes and resubmit. Is there anything else that's wrong?