From: Stephen Hemminger <stephen@networkplumber.org>
To: Pedro Tammela <pctammela@mojatatu.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>,
davem@davemloft.net, kuba@kernel.org, edumazet@google.com,
pabeni@redhat.com, netdev@vger.kernel.org, jiri@resnulli.us,
xiyou.wangcong@gmail.com, dsahern@gmail.com, fw@strlen.de,
victor@mojatatu.com
Subject: Re: [PATCH net-next 1/2] net/sched: Retire ipt action
Date: Thu, 21 Dec 2023 17:19:26 -0800 [thread overview]
Message-ID: <20231221171926.31a88e27@hermes.local> (raw)
In-Reply-To: <6aab67d6-d3cc-42f5-8ec5-dbd439d7886f@mojatatu.com>
On Thu, 21 Dec 2023 18:38:59 -0300
Pedro Tammela <pctammela@mojatatu.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@mojatatu.com>
> > Reviewed-by: Pedro Tammela <pctammela@mojatatu.com>
> > Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.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.
next prev parent reply other threads:[~2023-12-22 1:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-21 21:31 [PATCH net-next 0/2] net/sched: retire tc ipt action Jamal Hadi Salim
2023-12-21 21:31 ` [PATCH net-next 1/2] net/sched: Retire " Jamal Hadi Salim
2023-12-21 21:38 ` Pedro Tammela
2023-12-22 1:19 ` Stephen Hemminger [this message]
2023-12-22 2:02 ` David Ahern
2023-12-22 3:52 ` Stephen Hemminger
2023-12-22 10:45 ` Jamal Hadi Salim
2023-12-21 21:31 ` [PATCH net-next 2/2] net/sched: Remove CONFIG_NET_ACT_IPT from default configs Jamal Hadi Salim
2023-12-21 21:33 ` [PATCH net-next 0/2] net/sched: retire tc ipt action Florian Westphal
2023-12-22 3:51 ` David Ahern
2024-01-02 12:50 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231221171926.31a88e27@hermes.local \
--to=stephen@networkplumber.org \
--cc=davem@davemloft.net \
--cc=dsahern@gmail.com \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pctammela@mojatatu.com \
--cc=victor@mojatatu.com \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).