From patchwork Tue Jan 24 18:31:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Martin X-Patchwork-Id: 1731346 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=sflh1LVF; 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 4P1bCy3Wqgz23gM for ; Wed, 25 Jan 2023 05:31:57 +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 1pKO59-0003Y4-Pm; Tue, 24 Jan 2023 18:31:43 +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 1pKO58-0003Xq-81 for kernel-team@lists.ubuntu.com; Tue, 24 Jan 2023 18:31:42 +0000 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) (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 02FD242103 for ; Tue, 24 Jan 2023 18:31:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1674585102; bh=f9LOTTYH+cVQYPNFtmfgkk3LacoP9Ax9hmkuJh0wsi4=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=sflh1LVF8Npc2x50dci0Ue4gwdQoscQCPP726xTZ60MeOytTS7gwbO4ug5+WKcPgU /LhxWUdYM4GCFh259I70G1ON0vxnMH8IkBEg2OnWq8ma0mOmnhga3ImfyY4c6qhr37 IG2O332lzD3LKKEm4YmBGCeg+hBHfINVNrW8/FkrTr8qTipfa0kW8L90e9VjQpRzCv tKs1hAxk1VEKa79D5jel2Cmjs1I7IYXb8Xv8GEtklyVxRd3BLt3uONbAZhzdrRtXMB ywHJyEUE3G7coUOZXj4lPvnTP5cRVO1bem81Ag4Vtle5TF0dl/ZdQezWwVUT1BnAMG 62n5IvKulTXYg== Received: by mail-io1-f72.google.com with SMTP id r21-20020a0566022b9500b00707e4ee2b6fso1188232iov.2 for ; Tue, 24 Jan 2023 10:31:41 -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=HT32/RJWNIqM/ycaoSevrLzRFUjHA0phxYix8YW1T0qUFbRrN4OBtNROYdMOEg9S5u pvWyvRBnZ2H6iW5XQjBTrfdMD6lqj44WqRu694JjZxuCZe5WOTvzf8jdIccSoFyM7Qoe zL6PHKmOCGivE3Vxu/sNWF4VqMvDgHBB9swFalOF5iRZSpag+O5o9vqLJDeBIeAYVDMK ZHMqK8hRRf7P/1JwPs455Tx6o9UOlBjjunI2MZmFgfM+UzxEN4l+Txs5nzu7sg2tBc1e Kw9o+RUhg/w0IxCP7QZ4bmCOOERcQywwn4Bgypo0tRCqBJ/nHXA4vlITZJJTtOvlqyKs 9ZKQ== X-Gm-Message-State: AFqh2kr4ZqM/bcn90/IWv3pR5Ms76zmiiVpY+1OpgWUJ+H6OGQESWtqP Mqw55koM6TDSlrXNV1O78IP54X8fixtFE1ZwtfhKau+PwlFx6FIHwJoTvClsL2EXkrpmBuYWLEs SfEbCHKd6HcWf2eIgHHrbRukVPaFXW4L0TTuMJLt+yg== X-Received: by 2002:a6b:d811:0:b0:704:d956:e9b7 with SMTP id y17-20020a6bd811000000b00704d956e9b7mr18856222iob.20.1674585100949; Tue, 24 Jan 2023 10:31:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXv3qQ1rsTFWtf8LPKdFte2x9mslTdM4eeu4vkW0dGRMcctMOzFFeJUmbxw+8AhuIddXtRx/4Q== X-Received: by 2002:a6b:d811:0:b0:704:d956:e9b7 with SMTP id y17-20020a6bd811000000b00704d956e9b7mr18856214iob.20.1674585100681; Tue, 24 Jan 2023 10:31:40 -0800 (PST) Received: from localhost.localdomain ([2601:441:8201:3554:4135:3889:d225:3b17]) by smtp.gmail.com with ESMTPSA id z26-20020a056638001a00b003a4aa2dd3e6sm912408jao.87.2023.01.24.10.31.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 10:31:40 -0800 (PST) From: Jacob Martin To: kernel-team@lists.ubuntu.com Subject: [SRU][jammy/linux-kvm][PATCH 0/1] UBUNTU: [Config] kvm: Add support for dummy net driver Date: Tue, 24 Jan 2023 12:31:38 -0600 Message-Id: <20230124183139.83310-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