Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5232105ybl; Tue, 27 Aug 2019 01:13:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzi2kOZnxmKWEM56gPkksdKQTT1ApestZu0ocDVI2GCWbBH+/wu8wLFc4WcCMVV1zuyswz6 X-Received: by 2002:aa7:81d9:: with SMTP id c25mr25196809pfn.255.1566893611976; Tue, 27 Aug 2019 01:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566893611; cv=none; d=google.com; s=arc-20160816; b=uSlOt4EWDcCAgpU4nCzn+FP4Eq01j95kE5OJzU7m4Y4DvbBJ2k8y5TQBf0Q/a+XgSl Pb6mWvbx98bAkT832Ii8sGa5qOcCSns4jwKdgKMY5OJPjPCOY+6NDRKpTgCuw7/dGoUD rm/CpoD+CbbUBK4cSDR+nlNebXqQN5z/K1NLessJGP//Iw2RSP3XYeEzfc6YmAYDs2xc bS+NOfk6tUiv9sKtu4OcZ+TC4pEpNw8xSp5qbqPoaq5I2oJtGvGiSkh8zjxrj1RPJr5/ 3Wa8rhlncK8NZNAVemm/NQtVYCy6RnwrLovSaFSxxFZ2NNGbrdBlwwMN7z615f3pDW4h WEWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=sH1ePciQwixFf76ljxIAIWM6o6ExMPf7quH3aiDRsbI=; b=p29XCRE++AwfdfCA+TLKLUy4CFYdpmkoj0l1ao9IfKWBtd4dfnBr3BEdv0U0hoJHeC w2NW/0iJ7QkLuJcQisdt+C6/FxnsC7BIQLzUGdGlH3SzLXqee5IBOrljjKezJMN++hlc XVVTIH8K/2x7psNf5qv9LIwzBuTQqpMy+R2nvV10hwt3nYqjiPMvb9lRICfyPUfUEln5 vJbsep3P9LpDpEkNTR5Nlq6ZARkCJw5iH/oNqHTiXySMEZQFn0KJwc0ZRD7pvB+qIpYy sQq4LYuL8wu/O571+E239VfzDwLyvvA0UXnC65ymWwneS/PCSH7jfkyFp8i1NdkDvcB0 iExg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BWyHly9U; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h31si10950734pgb.67.2019.08.27.01.13.16; Tue, 27 Aug 2019 01:13:31 -0700 (PDT) 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=@kernel.org header.s=default header.b=BWyHly9U; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731475AbfH0IA2 (ORCPT + 99 others); Tue, 27 Aug 2019 04:00:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:55364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731043AbfH0IA0 (ORCPT ); Tue, 27 Aug 2019 04:00:26 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E431F22CED; Tue, 27 Aug 2019 08:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566892826; bh=qB3BRxQO9fiCu0Wd3YThpUV/JWI3D7Si2wgDS2tL1KQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BWyHly9U14Jq3utBhaYwxwj7G88KUpRVsXWBtXyTGCz226AhCkVTIqnPtyK3zVzVh MKVSvkSLlr8gEX+7l4qF/09pxeIafzBhNoQXFlVUdsZMJittxcHgoOgR8hf/EMCC5A tzJWaav6ImMYtdr+C+RaOMdGvVono4bW5EkW7JNs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ido Schimmel , Stephen Suryaputra , "David S. Miller" , Sasha Levin Subject: [PATCH 5.2 028/162] selftests: forwarding: gre_multipath: Enable IPv4 forwarding Date: Tue, 27 Aug 2019 09:49:16 +0200 Message-Id: <20190827072739.275028265@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190827072738.093683223@linuxfoundation.org> References: <20190827072738.093683223@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit efa7b79f675da0efafe3f32ba0d6efe916cf4867 ] The test did not enable IPv4 forwarding during its setup phase, which causes the test to fail on machines where IPv4 forwarding is disabled. Fixes: 54818c4c4b93 ("selftests: forwarding: Test multipath tunneling") Signed-off-by: Ido Schimmel Reported-by: Stephen Suryaputra Tested-by: Stephen Suryaputra Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- tools/testing/selftests/net/forwarding/gre_multipath.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/net/forwarding/gre_multipath.sh b/tools/testing/selftests/net/forwarding/gre_multipath.sh index cca2baa03fb81..37d7297e1cf8a 100755 --- a/tools/testing/selftests/net/forwarding/gre_multipath.sh +++ b/tools/testing/selftests/net/forwarding/gre_multipath.sh @@ -187,12 +187,16 @@ setup_prepare() sw1_create sw2_create h2_create + + forwarding_enable } cleanup() { pre_cleanup + forwarding_restore + h2_destroy sw2_destroy sw1_destroy -- 2.20.1