[SRU][kinetic/linux-kvm][PATCH 0/1] UBUNTU: [Config] kvm: Add support for dummy net driver

Jacob Martin jacob.martin at canonical.com
Tue Jan 24 18:32:56 UTC 2023


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(-)

-- 
2.25.1




More information about the kernel-team mailing list