Re: libbpf: Kernel error message: Exclusivity flag on, cannot modify
From: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Date: 2021-08-24 00:01:44
From: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Date: 2021-08-24 00:01:44
On Tue, Aug 24, 2021 at 12:36:03AM IST, Yaniv Agman wrote:
[...] Explicitly handling EEXIST solved the problem, however, libbpf_set_print in my setup is already set to ignore any message that is not LIBBPF_WARN.
You need to filter on LIBBPF_WARN for this one, the log level in libbpf_nla_dump_errormsg is pr_warn.
[...]
-- Kartikeya