X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsched%2Fact_police.c;h=38015b49394755d06cd1cfa56306ea358c968a49;hb=e5a4a72d4f88f4389e9340d383ca67031d1b8536;hp=32c3f9d9fb7ad89d06e3b45fc5c664936e9b56ad;hpb=47c317a7aaa2fbac03811a569829fa954e641520;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] = {