Skip to content

Conversation

@farsonic
Copy link

@farsonic farsonic commented Apr 1, 2025

Port Isolation of an interface in the Linux bridge is only supported by a subset of interfaces. This code change checks that the interface is of type veth, vnet or tap before attempting to isolate the interface to the bridge. The existing code would try to isolate any interface type with no checking and would easily cause an error. I'm thinking this logic might also need to be applied to other types of interface modes such as hairpin etc.

This issue was discovered when using the portIsolation setting in Multus which wasn't causing interfaces to become isolated.

Port Isolation of an interface in the Linux bridge is only supported by a subset of interfaces. This code change checks that the interface is of type veth, vnet or tap before attempting to isolate the interface to the bridge. 

The existing code would try to isolate any interface type with no checking and would easily cause an error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant