diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-10-18 18:59:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-19 11:07:57 -0400 |
commit | 85dda4e5b0ee1f5b4e8cc93d39e475006bc61ccd (patch) | |
tree | e3eb5265abd73bd8ffe52ca3cc320f9e8b4b850e /include/uapi | |
parent | 97c242902c209e7d46e365335db5202634484dcb (diff) | |
download | linux-85dda4e5b0ee1f5b4e8cc93d39e475006bc61ccd.tar.bz2 |
rtnetlink: Add rtnexthop offload flag to compare mask
The offload flag is a status flag and should not be used by
FIB semantics for comparison.
Fixes: 37ed9493699c ("rtnetlink: add RTNH_F_EXTERNAL flag for fib offload")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/rtnetlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index 262f0379d83a..5a78be518101 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h @@ -350,7 +350,7 @@ struct rtnexthop { #define RTNH_F_OFFLOAD 8 /* offloaded route */ #define RTNH_F_LINKDOWN 16 /* carrier-down on nexthop */ -#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN) +#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | RTNH_F_OFFLOAD) /* Macros to handle hexthops */ |