New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zebra crashes when an external
vxlan interface is added to a bridge
#15564
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
After a bit more experimentation, it seems to me that the issue is that
|
Also reproduced with 6ee9610. Zebra no longer crashes when |
@varesa I experience the exact same issue on 9.1-106-g13f8f5eff https://vyos.dev/T6167#181765 while working on VyOS. My commands to reproduce this issue: ip link add red type vrf table 100
ip link set dev red up
vtysh -c "conf t" -c "vrf red" -c "vni 10000"
ip link add dev br1 type bridge
echo 1 > /sys/class/net/br1/bridge/vlan_filtering
ip link set dev br1 up
ip link add vxlan1 type vxlan dstport 4789 external df unset tos inherit ttl 16 nolearning local 10.0.0.1
ip link set dev vxlan1 master br1
ip link set dev vxlan1 up The issue is caused by this line Line 1806 in 26277e5
EDIT: Oh you also referenced that line ;) |
I've opened a simple PR that looks like it protects against this condition. |
Thanks. I can confirm this fixes the issue on my side. |
Description
When a bridge with a member port that is a VXLAN interface with the
external
property is set, zebra segfaults. The segfault does not happen if anid
is provided instead of externalVersion
From the FRR RPM repo:
Other versions which may or may not be relevant:
How to reproduce
Start FRR and run the following commands:
Expected behavior
Zebra/FRR does not segfault.
Actual behavior
Additional context
Config is minimal:
Checklist
The text was updated successfully, but these errors were encountered: