Public bug reported:

[Impact]
networkd 255.4-1ubuntu8.18 aborts when the kernel has an fdb nexthop, and 
crash-loops while it exists. FRR creates these for EVPN multihoming.

    Assertion 'link' failed at src/network/networkd-nexthop.c:283,
function nexthop_add(). Aborting.

v256+ is not affected.

[Test Plan]
1. ip link add dummy0 type dummy && ip link set dummy0 up
2. ip nexthop add id 10 via 192.0.2.1 fdb
3. Before: networkd aborts. After: keeps running.

[Where problems could occur]
Only skips nexthops with no NHA_OIF that aren't groups or blackholes. networkd 
never configures those.

[Other Info]
Upstream PR: https://github.com/systemd/systemd-stable/pull/499
Patch: https://github.com/systemd/systemd-stable/pull/499.patch

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  [Impact]
  networkd 255.4-1ubuntu8.18 aborts when the kernel has an fdb nexthop, and 
crash-loops while it exists. FRR creates these for EVPN multihoming.
  
-     Assertion 'link' failed at src/network/networkd-nexthop.c:283,
+     Assertion 'link' failed at src/network/networkd-nexthop.c:283,
  function nexthop_add(). Aborting.
  
  v256+ is not affected.
  
  [Test Plan]
  1. ip link add dummy0 type dummy && ip link set dummy0 up
  2. ip nexthop add id 10 via 192.0.2.1 fdb
  3. Before: networkd aborts. After: keeps running.
  
  [Where problems could occur]
  Only skips nexthops with no NHA_OIF that aren't groups or blackholes. 
networkd never configures those.
  
  [Other Info]
  Upstream PR: https://github.com/systemd/systemd-stable/pull/499
- Patch: https://github.com/systemd/systemd-stable/pull/499/commits/6e5cac8b95
+ Patch: https://github.com/systemd/systemd-stable/pull/499.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174541

Title:
   systemd-networkd aborts on fdb nexthops (Assertion 'link' failed in
  nexthop_add)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2174541/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to