diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2015-04-25 20:43:43 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2015-04-25 20:43:43 +0200 |
commit | c5ff44a703e4ab810a5bd45cf9140643a50fb3ec (patch) | |
tree | 9da170899ebd1d1afea30a358c031bc704c47d0d /sysdep/cf | |
parent | 90097f4fb924922b416247abf291fb21f39dc8e1 (diff) |
KRT: Fixes learning of preferred kernel routes.
When a new route was imported from kernel and chosen as preferred, then
the old best route was propagated as a withdraw to the kernel protocol.
Under some circumstances such withdraw propagated to the BSD kernel could
remove the new alien route and thus reverting the import.
Diffstat (limited to 'sysdep/cf')
-rw-r--r-- | sysdep/cf/README | 1 | ||||
-rw-r--r-- | sysdep/cf/bsd-v6.h | 1 | ||||
-rw-r--r-- | sysdep/cf/bsd.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/cf/README b/sysdep/cf/README index 768a3727..e62c3481 100644 --- a/sysdep/cf/README +++ b/sysdep/cf/README @@ -5,6 +5,7 @@ CONFIG_AUTO_ROUTES Device routes are added automagically by the kernel CONFIG_SELF_CONSCIOUS We're able to recognize whether route was installed by us CONFIG_MULTIPLE_TABLES The kernel supports multiple routing tables CONFIG_ALL_TABLES_AT_ONCE Kernel scanner wants to process all tables at once +CONFIG_SINGLE_ROUTE There is only one route per network CONFIG_MC_PROPER_SRC Multicast packets have source address according to socket saddr field CONFIG_SKIP_MC_BIND Don't call bind on multicast socket (def for *BSD) diff --git a/sysdep/cf/bsd-v6.h b/sysdep/cf/bsd-v6.h index 47a7c7ff..745dfba3 100644 --- a/sysdep/cf/bsd-v6.h +++ b/sysdep/cf/bsd-v6.h @@ -11,6 +11,7 @@ #define CONFIG_AUTO_ROUTES #define CONFIG_SELF_CONSCIOUS #define CONFIG_MULTIPLE_TABLES +#define CONFIG_SINGLE_ROUTE #define CONFIG_SKIP_MC_BIND #define CONFIG_NO_IFACE_BIND diff --git a/sysdep/cf/bsd.h b/sysdep/cf/bsd.h index df199199..51beb42b 100644 --- a/sysdep/cf/bsd.h +++ b/sysdep/cf/bsd.h @@ -9,6 +9,7 @@ #define CONFIG_AUTO_ROUTES #define CONFIG_SELF_CONSCIOUS #define CONFIG_MULTIPLE_TABLES +#define CONFIG_SINGLE_ROUTE #define CONFIG_SKIP_MC_BIND #define CONFIG_NO_IFACE_BIND |