[PKT_SCHED]: Return ENOENT if action module is unavailable
authorThomas Graf <tgraf@suug.ch>
Thu, 6 Jul 2006 03:45:57 +0000 (20:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jul 2006 03:45:57 +0000 (20:45 -0700)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_api.c

index f9d1d78..9b2e397 100644 (file)
@@ -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;
        }