[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231221171926.31a88e27@hermes.local>
Date: Thu, 21 Dec 2023 17:19:26 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Pedro Tammela <pctammela@...atatu.com>
Cc: Jamal Hadi Salim <jhs@...atatu.com>, davem@...emloft.net,
kuba@...nel.org, edumazet@...gle.com, pabeni@...hat.com,
netdev@...r.kernel.org, jiri@...nulli.us, xiyou.wangcong@...il.com,
dsahern@...il.com, fw@...len.de, victor@...atatu.com
Subject: Re: [PATCH net-next 1/2] net/sched: Retire ipt action
On Thu, 21 Dec 2023 18:38:59 -0300
Pedro Tammela <pctammela@...atatu.com> wrote:
> On 21/12/2023 18:31, Jamal Hadi Salim wrote:
> > The tc ipt action was intended to run all netfilter/iptables target.
> > Unfortunately it has not benefitted over the years from proper updates when
> > netfilter changes, and for that reason it has remained rudimentary.
> > Pinging a bunch of people that i was aware were using this indicates that
> > removing it wont affect them.
> > Retire it to reduce maintenance efforts. Buh-bye.
> >
> > Reviewed-by: Victor Noguiera <victor@...atatu.com>
> > Reviewed-by: Pedro Tammela <pctammela@...atatu.com>
> > Signed-off-by: Jamal Hadi Salim <jhs@...atatu.com>
> > ---
...
> > diff --git a/include/uapi/linux/tc_act/tc_ipt.h b/include/uapi/linux/tc_act/tc_ipt.h
> > deleted file mode 100644
> > index c48d7da6750d..000000000000
> > --- a/include/uapi/linux/tc_act/tc_ipt.h
> > +++ /dev/null
> > @@ -1,20 +0,0 @@
> > -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
> > -#ifndef __LINUX_TC_IPT_H
> > -#define __LINUX_TC_IPT_H
> > -
> > -#include <linux/pkt_cls.h>
> > -
> > -enum {
> > - TCA_IPT_UNSPEC,
> > - TCA_IPT_TABLE,
> > - TCA_IPT_HOOK,
> > - TCA_IPT_INDEX,
> > - TCA_IPT_CNT,
> > - TCA_IPT_TM,
> > - TCA_IPT_TARG,
> > - TCA_IPT_PAD,
> > - __TCA_IPT_MAX
> > -};
> > -#define TCA_IPT_MAX (__TCA_IPT_MAX - 1)
> > -
> > -#endif
>
> Sorry I missed this, wouldn't this break compilation in userspace?
Yes, it breaks iproute2 build if tc_ipt.h is removed.
Powered by blists - more mailing lists