X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsched%2Fact_police.c;h=38015b49394755d06cd1cfa56306ea358c968a49;hb=4836e3007882984279ca63d3c42bf0b14616eb78;hp=32c3f9d9fb7ad89d06e3b45fc5c664936e9b56ad;hpb=e27772b48df91a954a74b1411b57d83b945a58c7;p=linux-2.6 diff --git a/net/sched/act_police.c b/net/sched/act_police.c index 32c3f9d9fb..38015b4939 100644 --- a/net/sched/act_police.c +++ b/net/sched/act_police.c @@ -116,7 +116,7 @@ static void tcf_police_destroy(struct tcf_police *p) return; } } - BUG_TRAP(0); + WARN_ON(1); } static const struct nla_policy police_policy[TCA_POLICE_MAX + 1] = {