diff options
| author | Jiri Pirko <[email protected]> | 2018-01-17 10:46:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-01-17 19:53:56 +0000 |
| commit | 9d3aaff3d8523264ff7082a90759cb8a340200be (patch) | |
| tree | eeb82fac2f6c8c9aebfa667d87fd350d066a9af8 /net/sched/cls_api.c | |
| parent | net: sched: introduce shared filter blocks infrastructure (diff) | |
| download | kernel-9d3aaff3d8523264ff7082a90759cb8a340200be.tar.gz kernel-9d3aaff3d8523264ff7082a90759cb8a340200be.zip | |
net: sched: avoid usage of tp->q in tcf_classify
Use block index in the messages instead.
Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Acked-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
| -rw-r--r-- | net/sched/cls_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index ee319b1598b5..700595abc641 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -672,8 +672,9 @@ reclassify: #ifdef CONFIG_NET_CLS_ACT reset: if (unlikely(limit++ >= max_reclassify_loop)) { - net_notice_ratelimited("%s: reclassify loop, rule prio %u, protocol %02x\n", - tp->q->ops->id, tp->prio & 0xffff, + net_notice_ratelimited("%u: reclassify loop, rule prio %u, protocol %02x\n", + tp->chain->block->index, + tp->prio & 0xffff, ntohs(tp->protocol)); return TC_ACT_SHOT; } |
