mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 11:22:33 +07:00
6c80563c2f
In tcf_register_action() we check either ->type or ->kind to see if there is an existing action registered, but ipt action registers two actions with same type but different kinds. They should have different types too. Cc: Jamal Hadi Salim <jhs@mojatatu.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
22 lines
383 B
C
22 lines
383 B
C
#ifndef __LINUX_TC_IPT_H
|
|
#define __LINUX_TC_IPT_H
|
|
|
|
#include <linux/pkt_cls.h>
|
|
|
|
#define TCA_ACT_IPT 6
|
|
#define TCA_ACT_XT 10
|
|
|
|
enum {
|
|
TCA_IPT_UNSPEC,
|
|
TCA_IPT_TABLE,
|
|
TCA_IPT_HOOK,
|
|
TCA_IPT_INDEX,
|
|
TCA_IPT_CNT,
|
|
TCA_IPT_TM,
|
|
TCA_IPT_TARG,
|
|
__TCA_IPT_MAX
|
|
};
|
|
#define TCA_IPT_MAX (__TCA_IPT_MAX - 1)
|
|
|
|
#endif
|