diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-07-05 20:45:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-07-05 20:45:57 -0700 |
commit | d152b4e1e9a18f332ecd9e66492d706edc083345 (patch) | |
tree | fab54e5bf74662f478db5991cd56501fd43f6dce /net | |
parent | 26dab8930b408d5e5eb9ef496d68364dc955e249 (diff) | |
download | kernel_samsung_smdk4412-d152b4e1e9a18f332ecd9e66492d706edc083345.zip kernel_samsung_smdk4412-d152b4e1e9a18f332ecd9e66492d706edc083345.tar.gz kernel_samsung_smdk4412-d152b4e1e9a18f332ecd9e66492d706edc083345.tar.bz2 |
[PKT_SCHED]: Return ENOENT if action module is unavailable
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
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 f9d1d78..9b2e397 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -305,6 +305,7 @@ struct tc_action *tcf_action_init_1(struct rtattr *rta, struct rtattr *est, goto err_mod; } #endif + *err = -ENOENT; goto err_out; } |