Skip to content
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

[v1.15] Backport of #31200 - linux device user choice prioritization #31206

Merged
merged 1 commit into from
Mar 7, 2024

Commits on Mar 6, 2024

  1. linux: devices: increase priority of user choice

    [ upstream commit 2b51393 ]
    
    The devices controller contains the logic to determine which devices are
    considered "selected" - that is, which devices cilium considers for
    things like the choice of direct routing device, etc.
    
    As part of this logic, we look at the user-provided configuration, in
    the form of the '--devices' flag. However, existing code is slightly too
    opinionated in that it excludes the loopback device before it looks at
    what the user specifies. It has been reported that using the loopback
    interface lo as the direct routing device worked in 1.14, but no longer
    does in 1.15. As this is a somewhat unusual setup, we require the user
    to specifically include 'lo' into the devices and respect their choice
    in the selection logic.
    
    Fixes: 03ad61b (datapath/linux: Implement DevicesController)
    
    Signed-off-by: David Bimmler <david.bimmler@isovalent.com>
    bimmlerd committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    83d692a View commit details
    Browse the repository at this point in the history