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> |
||
|---|---|---|
| .. | ||
| Kbuild | ||
| tc_csum.h | ||
| tc_defact.h | ||
| tc_gact.h | ||
| tc_ipt.h | ||
| tc_mirred.h | ||
| tc_nat.h | ||
| tc_pedit.h | ||
| tc_skbedit.h | ||