aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-07-05 23:45:57 -0400
committerDavid S. Miller <davem@davemloft.net>2006-07-05 23:45:57 -0400
commitd152b4e1e9a18f332ecd9e66492d706edc083345 (patch)
treefab54e5bf74662f478db5991cd56501fd43f6dce /net
parent26dab8930b408d5e5eb9ef496d68364dc955e249 (diff)
[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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c
index f9d1d78e17f8..9b2e3975be0b 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,
305 goto err_mod; 305 goto err_mod;
306 } 306 }
307#endif 307#endif
308 *err = -ENOENT;
308 goto err_out; 309 goto err_out;
309 } 310 }
310 311