[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191108.134321.1097988707758103655.davem@davemloft.net>
Date: Fri, 08 Nov 2019 13:43:21 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: toke@...hat.com
Cc: daniel@...earbox.net, ast@...nel.org, kafai@...com,
songliubraving@...com, yhs@...com, brouer@...hat.com,
andrii.nakryiko@...il.com, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH bpf-next v2 4/6] libbpf: Use pr_warn() when printing
netlink errors
From: Toke Høiland-Jørgensen <toke@...hat.com>
Date: Fri, 08 Nov 2019 22:33:09 +0100
> From: Toke Høiland-Jørgensen <toke@...hat.com>
>
> The netlink functions were using fprintf(stderr, ) directly to print out
> error messages, instead of going through the usual logging macros. This
> makes it impossible for the calling application to silence or redirect
> those error messages. Fix this by switching to pr_warn() in nlattr.c and
> netlink.c.
>
> Acked-by: Song Liu <songliubraving@...com>
> Signed-off-by: Toke Høiland-Jørgensen <toke@...hat.com>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists