|
@@ -909,6 +909,7 @@ void tcf_exts_destroy(struct tcf_exts *exts)
|
|
#ifdef CONFIG_NET_CLS_ACT
|
|
#ifdef CONFIG_NET_CLS_ACT
|
|
LIST_HEAD(actions);
|
|
LIST_HEAD(actions);
|
|
|
|
|
|
|
|
+ ASSERT_RTNL();
|
|
tcf_exts_to_list(exts, &actions);
|
|
tcf_exts_to_list(exts, &actions);
|
|
tcf_action_destroy(&actions, TCA_ACT_UNBIND);
|
|
tcf_action_destroy(&actions, TCA_ACT_UNBIND);
|
|
kfree(exts->actions);
|
|
kfree(exts->actions);
|