mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-11-29 10:31:04 +00:00
net: sched: avoid usage of tp->q in tcf_classify
Use block index in the messages instead. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4861738775
commit
9d3aaff3d8
@ -672,8 +672,9 @@ reclassify:
|
|||||||
#ifdef CONFIG_NET_CLS_ACT
|
#ifdef CONFIG_NET_CLS_ACT
|
||||||
reset:
|
reset:
|
||||||
if (unlikely(limit++ >= max_reclassify_loop)) {
|
if (unlikely(limit++ >= max_reclassify_loop)) {
|
||||||
net_notice_ratelimited("%s: reclassify loop, rule prio %u, protocol %02x\n",
|
net_notice_ratelimited("%u: reclassify loop, rule prio %u, protocol %02x\n",
|
||||||
tp->q->ops->id, tp->prio & 0xffff,
|
tp->chain->block->index,
|
||||||
|
tp->prio & 0xffff,
|
||||||
ntohs(tp->protocol));
|
ntohs(tp->protocol));
|
||||||
return TC_ACT_SHOT;
|
return TC_ACT_SHOT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user