]> git.ipfire.org Git - thirdparty/bird.git/commit
Netlink: Explicitly skip received cloned routes
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Fri, 14 Jan 2022 18:07:57 +0000 (19:07 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Fri, 14 Jan 2022 18:07:57 +0000 (19:07 +0100)
commitd0dd1d20cd40e75e417d58569fac3ff0bf1db41a
tree0c6a2b5c1dd709b29b736fd3ae945e213d36985c
parent60e9def9ef7b5d16f868b0fb4ab1192d59fd7541
Netlink: Explicitly skip received cloned routes

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.
sysdep/linux/netlink.c