diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index 5ccaa4be7d9646765d1ab59803756a3dcbce91fc..767b03a3fe67a5efdd59e7f9f53a0a1f8f588ff0 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -123,7 +123,7 @@ static inline void tcf_exts_to_list(const struct tcf_exts *exts, for (i = 0; i < exts->nr_actions; i++) { struct tc_action *a = exts->actions[i]; - list_add(&a->list, actions); + list_add_tail(&a->list, actions); } #endif }