Public bug reported:
[Impact]
There are cases, where deleting a VRF device can hang waiting for the refcnt to
drop to 0, with the message:
unregister_netdevice: waiting for vrf1 to become free. Usage count = 1
This is fixed upstream with commit b87b04f5019e ("ipv4: Fix device used
for dst_alloc with local routes"), included in linux v5.13. The original
patch, which has introduced the bug, is included in linux v4.10.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b87b04f5019e
[Test Case]
The upstream patch includes a test case, which describe how to reproduce
the bug.
[Regression Potential]
The patch affects ipv4 routing. It is straightforward, it links new dst
to a vrf device instead of the loopback if needed.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "Backport of the upstream patch on
Ubuntu-hwe-5.4-5.4.0-87.98_18.04.1"
https://bugs.launchpad.net/bugs/1945180/+attachment/5528350/+files/0001-ipv4-Fix-device-used-for-dst_alloc-with-local-routes.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1945180
Title:
vrf: fix refcnt leak with vxlan slaves
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1945180/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs