]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[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 f9d1d78e17f8bc35f103f1be2ccac16341536cd6..9b2e3975be0bbdb32303e29f57dab34ab8b01983 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;
        }