Skip to content
  • Ondřej Zajíček's avatar
    d0dd1d20
    Netlink: Explicitly skip received cloned routes · d0dd1d20
    Ondřej Zajíček authored
    Kernel uses cloned routes to keep route cache entries, but reports them
    together with regular routes. They were skipped implicitly as they
    do not have rtm_protocol filled. Add explicit check for cloned flag
    and skip such routes explicitly.
    
    Also, improve debug logs of skipped routes.
    d0dd1d20
    Netlink: Explicitly skip received cloned routes
    Ondřej Zajíček authored
    Kernel uses cloned routes to keep route cache entries, but reports them
    together with regular routes. They were skipped implicitly as they
    do not have rtm_protocol filled. Add explicit check for cloned flag
    and skip such routes explicitly.
    
    Also, improve debug logs of skipped routes.
Loading