net/sched: act_pedit: rate limit datapath messages
authorPedro Tammela <pctammela@mojatatu.com>
Fri, 21 Apr 2023 21:25:17 +0000 (18:25 -0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Apr 2023 17:35:27 +0000 (18:35 +0100)
commite3c9673e2f6e1b3aa4bb87c570336e10f364c28a
treed38259d338b47953043bc242cdf88411939fbe2d
parent577140180ba28d0d37bc898c7bd6702c83aa106f
net/sched: act_pedit: rate limit datapath messages

Unbounded info messages in the pedit datapath can flood the printk
ring buffer quite easily depending on the action created.
As these messages are informational, usually printing some, not all,
is enough to bring attention to the real issue.

Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_pedit.c