From patchwork Tue Jan 24 18:32:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Martin X-Patchwork-Id: 1731348 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=jls9nCH0; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P1bFJ5H7mz23gM for ; Wed, 25 Jan 2023 05:33:08 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1pKO6Q-00040F-Gb; Tue, 24 Jan 2023 18:33:02 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1pKO6P-0003za-3q for kernel-team@lists.ubuntu.com; Tue, 24 Jan 2023 18:33:01 +0000 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 55A1942103 for ; Tue, 24 Jan 2023 18:33:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1674585180; bh=f9LOTTYH+cVQYPNFtmfgkk3LacoP9Ax9hmkuJh0wsi4=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=jls9nCH0eTkMTDeDV5SLlC1uWqVc7EwhYtA82YDqOqA9fMhpXW5Hu61ssdNpIdLP4 SYVqFhQu6fUZu73mKJ2jjo5/qBxdWEEOYKclVjBf5eKXgOc35vpT6od5khAMkMxcpf XDXOPn5WzOjHxdyojk3fNFvX9dxx0QmOLLFhAJzorNZIZAWIrLzBtFpLJvSkwprRHm Jelju2woKAZ9yL4wkOZte6dsYbK+Ip6EmxGROeGrjpujOJqbhC21ly5Ez0ADEHS1VR stZcr9TCFOk8StgC+Qs4tgStkP1vNPH2HWEVzPmPrBgEvk37RA5Qq2WMswXfzaaqpY zuojoBiOkeJJQ== Received: by mail-il1-f198.google.com with SMTP id l13-20020a056e0212ed00b00304c6338d79so11046163iln.21 for ; Tue, 24 Jan 2023 10:33:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f9LOTTYH+cVQYPNFtmfgkk3LacoP9Ax9hmkuJh0wsi4=; b=ZxyoubOyRPYvcv0p/zPBGh56h0h/s2i1nmDgMAPFwUrLHbK0Wy/K7qXspTL0kCJ4PE l7LPtU/WNjesBsT2zWWlwuvMwjP/fhgE1d5iGswUE74z8jFh95zezTAzDtbKTxqxytWf QSfcL3N7eJW+Fo3aYm/dHsk7K7AyLkC8OPmXnkXKfuAomiObGBVQbeN4EPOhXpPcW/JN okzFrEuzU3SXtxW/ZCSgKemfyIsApky2DKlIUTUKLk620TU7bKm4ip1djkhVZAAYSWOy XSiz28/2KxlpkqeL8kiZ64gMzWkB+NEK56NUYIhSWTIHHszJeai986TDmGbDfQSS9jgC qcIw== X-Gm-Message-State: AFqh2krTbbi7X2CeXnMkO89lqdyaarK08bpJhlVyQrjz1F39odm1UQwp BJgtjPHS1+OkTEu2+ILDpUI+1kGCwPdldkCvX0VPyA+aTK+LTwZEIdwRpgxtyqvV6cFhyUhwAE/ k6/ukfjIKO2+AaWIGlVsnT93xbiUSEKeyaYc7v5hFqw== X-Received: by 2002:a6b:c90f:0:b0:6e2:db1a:6c36 with SMTP id z15-20020a6bc90f000000b006e2db1a6c36mr20686898iof.11.1674585179236; Tue, 24 Jan 2023 10:32:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXsTwiLw8DHwCBqvRyB0jG5byJyWmrV78+hkCZicKl6d9oQF4rEqdvUSg1yyQC1J1tyADBYo+Q== X-Received: by 2002:a6b:c90f:0:b0:6e2:db1a:6c36 with SMTP id z15-20020a6bc90f000000b006e2db1a6c36mr20686891iof.11.1674585179038; Tue, 24 Jan 2023 10:32:59 -0800 (PST) Received: from localhost.localdomain ([2601:441:8201:3554:4135:3889:d225:3b17]) by smtp.gmail.com with ESMTPSA id k22-20020a02c776000000b003a7d0c20f0bsm896290jao.97.2023.01.24.10.32.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 10:32:58 -0800 (PST) From: Jacob Martin To: kernel-team@lists.ubuntu.com Subject: [SRU][kinetic/linux-kvm][PATCH 0/1] UBUNTU: [Config] kvm: Add support for dummy net driver Date: Tue, 24 Jan 2023 12:32:56 -0600 Message-Id: <20230124183257.83421-1-jacob.martin@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" https://bugs.launchpad.net/bugs/1998244 Note: This issue was originally triaged and fixed by ~joseogando for lunar/linux-kvm. I am applying the fix to kinetic and jammy as training. SRU Justification: [Impact] * Without Kernel support for the Dummy net driver, it is not possible to successfully run selftests that use it. This includes as per this bug net/fib_nexthop_nongw.sh, but also could potentially include other such as rtnetlink.sh, fib_rule_tests.sh, forwarding/* etc. [Fix] * Custom patch to enable CONFIG_DUMMY=m [Test Plan] * Before the fix, the net/fib_nexthop_nongw.sh script will fail in the specific line which does $ ip -n h1 link add name eth0 type dummy Error: Unknown device type. After the fix it does not fail. [Where problems could occur] * The regression can be considered as low, since we are adding functionality not previously present. [Other Info] * There does not seem to be a historical reason for removing it from linux-kvm. Jacob Martin (1): UBUNTU: [Config] kvm: Add support for dummy net driver debian.kvm/config/annotations | 3 +++ debian.kvm/config/config.common.ubuntu | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) Acked-by: Tim Gardner Acked-by: Luke Nowakowski-Krijger