diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-11-07 15:32:51 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-11-07 15:32:51 +0100 |
commit | ed382a2a0f26e182f17743891b4a9eb44a659310 (patch) | |
tree | 00baca874482aaa264dcd4364138c69b3fa72cac /net | |
parent | f6dde50d9deb831fdc89f06cc453c5cb87669972 (diff) | |
download | linux-stable-ed382a2a0f26e182f17743891b4a9eb44a659310.tar.gz linux-stable-ed382a2a0f26e182f17743891b4a9eb44a659310.tar.bz2 linux-stable-ed382a2a0f26e182f17743891b4a9eb44a659310.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |