mpls router not forward pakcets with mpls labels in some circumstance

Bug #1944990 reported by ChengChung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

related linux kernel version: 5.11.0-1017-aws, 5.10.0-1045-oem and some other versions
all instances are run as virtual machine
ubuntu version: 20.04 with all packages updated

recently when I try to use ubuntu as mpls router, I found that in some circumstance, the packets will be dropped or discarded.
I have set all related interfaces with the rp_filter value as 0, and ipv4 forwarding enabled, also mpls input enabled

I always set
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
in /etc/sysctl.conf in most of my VMs, and find with these two settings, or more exactly, with
net.core.default_qdisc = fq
, the router will not forward mpls packets.

Assume I have 3 VMs, named A, B, C, they are connected as A-B-C via virtual links.
I use frrouting as routing software, and use ospf as iGP, with MPLS-te and segment-routing enable with no-php-flag.
if A-B and B-C are connected with GRE tunnel, in this circumstance with default_qdisc set to fq, if I send an ICMP packet from A to C, I can see mpls packets forwared to interface B-C on VM-B, but the interface B-C dropped packet(as the counter increase), and C-B interface on VM C don't see any income packets and none of the releated packets can be seen on ethernet interfaces.
But when I reboot without setting default_qdisc to fq, the packet can be successfully forwarded from A to C by B.
if A-B and B-C are connected with tap tunnel(for example, I use tinc), I cannot see packet forwarded to interface B-C at all, and without default_qdisc set to fq, I can see packets successfully forwarded to C.

As the mpls routing table and normal IP route table seems nothing wrong, so I don't think it's caused by frrouting.
And I am not sure what exactly the conditions to reproduce this bug, but at least 'net.core.default_qdisc = fq' can be used to reproduce it.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1944990/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.