diff options
author | wenxu <wenxu@ucloud.cn> | 2020-11-25 07:01:22 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-28 01:36:02 +0300 |
commit | fa6d639930ee5cd3f932cc314f3407f07a06582d (patch) | |
tree | 45ba46c4afbe2ee321c88882713381ce8d391a01 /include/net/sch_generic.h | |
parent | aadaca9e7c392dbf877af8cefb156199f1a67bbe (diff) | |
download | linux-fa6d639930ee5cd3f932cc314f3407f07a06582d.tar.xz |
net/sched: act_mirred: refactor the handle of xmit
This one is prepare for the next patch.
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r-- | include/net/sch_generic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index d8fd8676fc72..dd74f06bbb0b 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -1281,9 +1281,4 @@ void mini_qdisc_pair_init(struct mini_Qdisc_pair *miniqp, struct Qdisc *qdisc, void mini_qdisc_pair_block_init(struct mini_Qdisc_pair *miniqp, struct tcf_block *block); -static inline int skb_tc_reinsert(struct sk_buff *skb, struct tcf_result *res) -{ - return res->ingress ? netif_receive_skb(skb) : dev_queue_xmit(skb); -} - #endif |