On 8/3/17 5:28 AM, Jiri Pirko wrote:
> diff --git a/include/uapi/linux/ipv6_route.h b/include/uapi/linux/ipv6_route.h
> index d496c02..33e2a57 100644
> --- a/include/uapi/linux/ipv6_route.h
> +++ b/include/uapi/linux/ipv6_route.h
> @@ -35,6 +35,7 @@
>  #define RTF_PREF(pref)       ((pref) << 27)
>  #define RTF_PREF_MASK        0x18000000
>  
> +#define RTF_OFFLOAD  0x20000000      /* offloaded route              */
>  #define RTF_PCPU     0x40000000      /* read-only: can not be set by user */
>  #define RTF_LOCAL    0x80000000

PCPU as a UAPI flag was a mistake; it is a flag internal to IPv6 stack
and really makes no sense to the user. The OFFLOAD should not follow
suit especially given the limited uapi bits left.

Reply via email to