diff options
| author | Thomas Graf <tgraf@suug.ch> | 2006-07-05 20:58:23 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-07-24 20:35:22 -0700 |
| commit | 0a5bad5657163f8f44f6220929a70acf297d3dd5 (patch) | |
| tree | e641f32d15d683e041aa83a69917bb7e2e08724e | |
| parent | 5bf5d453cd5479783020d2cd76138812de947106 (diff) | |
| download | linux-0a5bad5657163f8f44f6220929a70acf297d3dd5.tar.gz linux-0a5bad5657163f8f44f6220929a70acf297d3dd5.tar.bz2 linux-0a5bad5657163f8f44f6220929a70acf297d3dd5.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: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| -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 2c2c37191ffd..67c31f90d56c 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -306,6 +306,7 @@ struct tc_action *tcf_action_init_1(struct rtattr *rta, struct rtattr *est, goto err_mod; } #endif + *err = -ENOENT; goto err_out; } |
