From ed382a2a0f26e182f17743891b4a9eb44a659310 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Tue, 7 Nov 2006 15:32:51 +0100 Subject: [PATCH] PKT_SCHED: Return ENOENT if action module is unavailable Return ENOENT if action module is unavailable Signed-off-by: Thomas Graf Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk --- net/sched/act_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 073b597879ec..eb7dc2947a0a 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -308,6 +308,7 @@ struct tc_action *tcf_action_init_1(struct rtattr *rta, struct rtattr *est, goto err_mod; } #endif + *err = -ENOENT; goto err_out; } -- 2.39.5