Skip to content
  • Ondřej Zajíček's avatar
    b21104c9
    Nest: Do not ignore secondary flag changes in ifa updates · b21104c9
    Ondřej Zajíček authored
    Compare all IA_* flags that are set by sysdep iface code.
    
    The old code ignores IA_SECONDARY flag when comparing whether iface
    address updates from kernel changed anything. This is usually not an
    issue as kernel removes all secondary addresses due to removal of the
    primary one, but it breaks when sysctl 'promote_secondaries' is enabled
    and kernel promotes secondary addresses to primary ones.
    
    Thanks to 'Alexander' for the bugreport.
    b21104c9
    Nest: Do not ignore secondary flag changes in ifa updates
    Ondřej Zajíček authored
    Compare all IA_* flags that are set by sysdep iface code.
    
    The old code ignores IA_SECONDARY flag when comparing whether iface
    address updates from kernel changed anything. This is usually not an
    issue as kernel removes all secondary addresses due to removal of the
    primary one, but it breaks when sysctl 'promote_secondaries' is enabled
    and kernel promotes secondary addresses to primary ones.
    
    Thanks to 'Alexander' for the bugreport.
Loading