On 1/9/18 7:07 AM, Jiri Pirko wrote:
> diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
> index 9c026d9..038cde7 100644
> --- a/include/uapi/linux/rtnetlink.h
> +++ b/include/uapi/linux/rtnetlink.h
> @@ -150,6 +150,12 @@ enum {
>       RTM_NEWCACHEREPORT = 96,
>  #define RTM_NEWCACHEREPORT RTM_NEWCACHEREPORT
>  
> +     RTM_NEWBLOCK = 100,
> +#define RTM_NEWBLOCK RTM_NEWBLOCK
> +     RTM_DELBLOCK,
> +#define RTM_DELBLOCK RTM_DELBLOCK
> +     RTM_GETBLOCK,
> +#define RTM_GETBLOCK RTM_GETBLOCK
>       __RTM_MAX,
>  #define RTM_MAX              (((__RTM_MAX + 3) & ~3) - 1)
>  };

Seems like this is creating an inconsistency. RTM_GETBLOCK is used to
dump the set of shared blocks, but RTM_NEWBLOCK / RTM_DELBLOCK are not
used to create / delete one.

Reply via email to