Paolo Abeni <pabeni@xxxxxxxxxx> writes: > The WARN_ONCE() in bpf_warn_invalid_xdp_action() can be triggered by > any bugged program, and even attaching a correct program to a NIC > not supporting the given action. > > The resulting splat, beyond polluting the logs, fouls automated tools: > e.g. a syzkaller reproducers using an XDP program returning an > unsupported action will never pass validation. > > Replace the WARN_ONCE with a less intrusive pr_warn_once(). > > Signed-off-by: Paolo Abeni <pabeni@xxxxxxxxxx> Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>