summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-07-05 20:58:23 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-07-24 20:35:22 -0700
commit0a5bad5657163f8f44f6220929a70acf297d3dd5 (patch)
treee641f32d15d683e041aa83a69917bb7e2e08724e /net
parent5bf5d453cd5479783020d2cd76138812de947106 (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: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.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 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;
}