aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-11-07 15:32:51 +0100
committerAdrian Bunk <bunk@stusta.de>2006-11-07 15:32:51 +0100
commited382a2a0f26e182f17743891b4a9eb44a659310 (patch)
tree00baca874482aaa264dcd4364138c69b3fa72cac /net
parentf6dde50d9deb831fdc89f06cc453c5cb87669972 (diff)
PKT_SCHED: Return ENOENT if action module is unavailable
Return ENOENT if action module is unavailable Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'net')
-rw-r--r--net/sched/act_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c
index 073b597879e..eb7dc2947a0 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;
}