Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp259417imu; Thu, 8 Nov 2018 01:10:44 -0800 (PST) X-Google-Smtp-Source: AJdET5cL7hZ7mcJkMPt4z7R7Aaj+p8fFpt210jAw16Ff65bp9zPYifO/xjcVFR0WTgc3gHIs4V7z X-Received: by 2002:a17:902:4d46:: with SMTP id o6-v6mr3806380plh.104.1541668243890; Thu, 08 Nov 2018 01:10:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541668243; cv=none; d=google.com; s=arc-20160816; b=qPs38jX2YKujGttMTAbqw0Q5mhRzwFcEHHlQNvgdkaqDVUQ0djbLKQhA31Tcb7a++t T/V5Da9iwvUb+z3mdXiVImh+YP6lFUy7aMtSPMBvjtLHaSPK6OFgAV1+QFNPx7KvBHGo cR1574Gt7FvJVfRa5q1WOMa3LWqFUwCU5d78attwQWuktssa2eiDcHmRXpEdom7xlXOM +jywiB264xXFPRVViLhpK+eOncmNaC/Pz8JXmB5L3++omtrb6Xt/vWIVGdqI6u2RUXzT WBYb7+vtqLLBuZUuV5Z+nBfN8HTiyZJ9JFt69ylWX8VnvkEqEVU4uo/jtHrGdRsONb6m lyLw== 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=CZ+W4XGs1srKntag9Jdm9rzWcs0c/y/cjkvEKgeo7JWwOe+5IeTka5+jPnfKH/8zLE KVoVttXHVwGeM5CUEngaGe+ECzsnywqMhLsmTtmYRgSzWHOfJVASsfdyZEvjKAgiYbsv pfTO60K2Mx3XnOx6D9FDF2sWiS5SWXsRLY84sh+FMBBlya5sRiC2XPx/bfwV2rYh+Ilu zfDursjdPRJhZW7M2clBnxbrTrZJuVChjfESO3GymbLszfywhKSVF8bL2Y8BBStz6ahr aM7Dhw0TnqbnZwEAQmfIEofiLNDQ1a6KEunuOKXnnBScM8OOhCFbGAeZpa6aPJl3MfFO AZfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EaPylgMT; 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 d34-v6si3731172pla.33.2018.11.08.01.10.27; Thu, 08 Nov 2018 01:10:43 -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=EaPylgMT; 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 S1726758AbeKHSnO (ORCPT + 99 others); Thu, 8 Nov 2018 13:43:14 -0500 Received: from mail-pl1-f174.google.com ([209.85.214.174]:41570 "EHLO mail-pl1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726133AbeKHSnO (ORCPT ); Thu, 8 Nov 2018 13:43:14 -0500 Received: by mail-pl1-f174.google.com with SMTP id p16-v6so9254795plr.8; Thu, 08 Nov 2018 01:08:43 -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=EaPylgMTtFvSdAYp7TE2USSwjBVgpRAxSVwU62pXwmW/0ByIR5+lZ5t8JuespKTTiZ h409OL0Z5/20CSogJBWjXUOb2bOuYmhRmMiYCgCTQcMJVV52i3U5+Q6eBriHOX/y/K/U WoTzX4z1bNx3aaOtYdlkg2DZ4bBNfE+ajL/ji2OZbt4zJe67oeDvB9+UX+aRwkS5EGl7 TPv5JOJ9ii4YpuNRGXKQhIy44U1QaRD+dSM0uUET57G5ExEZCTiaSqtctFThTbZPVwIX ACQKSYIbVasWpsdYd8MuvizAnNvxuOsBGtXyS2O+Kz89DgqEtNPvr0toN+oUXLnevDPS Q1qw== 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=CXu3wfew2TkWihh7T5bqeDId+gnKKaSHV4gwjBFGFmggQRt+2uVVA7wjNPVLRnSY8u h6t/vhLLFErlO9UyG3jiJYQvhHfQA6XF22XUC91w/C+r30GXLy136luLS4g0cywrAhuP ZRQUtWdn0wN9BWr0qdUqoNIo8Wr5wfpX+mHHA/7sjWo3Ha1mhVwKapxjPhExp5PTHGo+ EnS9SueZm4cdjZKy1RMWOjFMKyIjWTEffwDnBZpFBw/JPQS1nCWLr3lIVlcjKFmNTaZG 3n4sIpCpRycm4tAV9dE+zgiOUAnC++Zrvf8wznjiDb7HoxxiebbBflwQKkJvHvH7Fw/n rJ7g== X-Gm-Message-State: AGRZ1gKLoR9i0zl4tP7Q7vck06WRacMDnDVgGbhGkgSlL7ghzuLSj6gC +vmyqLYYLdkeXwsGvHRd5eE= X-Received: by 2002:a17:902:14e:: with SMTP id 72-v6mr3607346plb.299.1541668122660; Thu, 08 Nov 2018 01:08:42 -0800 (PST) Received: from localhost.localdomain ([2405:204:54a3:4742:28e4:be46:8b17:69ab]) by smtp.gmail.com with ESMTPSA id 67-v6sm3629906pfk.134.2018.11.08.01.08.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Nov 2018 01:08:42 -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, Suraj Singh Subject: Re: net: ipv4: tcp_westwood: fixed warnings and checks Date: Thu, 8 Nov 2018 14:38:12 +0530 Message-Id: <1541668092-8661-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--annotate> References: <1541425985-31869-1-git-send-email-suraj1998@gmail.com--annotate> 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?