Re: [v1,iproute2 1/2] iproute2:tc:action: add a gate control action

From: Stephen Hemminger
Date: Tue Mar 24 2020 - 17:59:26 EST


On Tue, 24 Mar 2020 11:47:44 +0800
Po Liu <Po.Liu@xxxxxxx> wrote:

> diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h
> index a6aa466..7a047a9 100644
> --- a/include/uapi/linux/pkt_cls.h
> +++ b/include/uapi/linux/pkt_cls.h
> @@ -106,6 +106,7 @@ enum tca_id {
> TCA_ID_SAMPLE = TCA_ACT_SAMPLE,
> TCA_ID_CTINFO,
> TCA_ID_MPLS,
> + TCA_ID_GATE,
> TCA_ID_CT,
> /* other actions go here */
> __TCA_ID_MAX = 255

All uapi headers need to come from checked in kernel.

This is an example of why, you have an out of date version because
this version would have broken ABI.


This patch should be against iproute2-next since because it depends on net-next.