History

net/sched: Retire ipt action

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.

Jamal Hadi Salim committed 2 years ago

Commit ba24ea11 parent 993498e8 files · +2 −510Browse files

Showing the changes to include/uapi (2 of 8 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/pkt_cls.h +2 −2
  2. include/uapi/linux/tc_act/tc_ipt.h +0 −20
include/uapi/linux/pkt_cls.h+2−2
@@ -99,7 +99,7 @@ enum { · 98 unmodified lines
99 * versions.99 * versions.
100 */100 */
101#define TCA_ACT_GACT 5101#define TCA_ACT_GACT 5
102#define TCA_ACT_IPT 6102#define TCA_ACT_IPT 6 /* obsoleted, can be reused */
103#define TCA_ACT_PEDIT 7103#define TCA_ACT_PEDIT 7
104#define TCA_ACT_MIRRED 8104#define TCA_ACT_MIRRED 8
105#define TCA_ACT_NAT 9105#define TCA_ACT_NAT 9
@@ -120,7 +120,7 @@ enum tca_id { · 14 unmodified lines
120 TCA_ID_UNSPEC = 0,120 TCA_ID_UNSPEC = 0,
121 TCA_ID_POLICE = 1,121 TCA_ID_POLICE = 1,
122 TCA_ID_GACT = TCA_ACT_GACT,122 TCA_ID_GACT = TCA_ACT_GACT,
123 TCA_ID_IPT = TCA_ACT_IPT,123 TCA_ID_IPT = TCA_ACT_IPT, /* Obsoleted, can be reused */
124 TCA_ID_PEDIT = TCA_ACT_PEDIT,124 TCA_ID_PEDIT = TCA_ACT_PEDIT,
125 TCA_ID_MIRRED = TCA_ACT_MIRRED,125 TCA_ID_MIRRED = TCA_ACT_MIRRED,
126 TCA_ID_NAT = TCA_ACT_NAT,126 TCA_ID_NAT = TCA_ACT_NAT,
include/uapi/linux/tc_act/tc_ipt.h+0−20
@@ -1,20 +0,0 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef __LINUX_TC_IPT_H
3#define __LINUX_TC_IPT_H
4
5#include <linux/pkt_cls.h>
6
7enum {
8 TCA_IPT_UNSPEC,
9 TCA_IPT_TABLE,
10 TCA_IPT_HOOK,
11 TCA_IPT_INDEX,
12 TCA_IPT_CNT,
13 TCA_IPT_TM,
14 TCA_IPT_TARG,
15 TCA_IPT_PAD,
16 __TCA_IPT_MAX
17};
18#define TCA_IPT_MAX (__TCA_IPT_MAX - 1)
19
20#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t