From: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> Date: Fri, 08 Nov 2019 22:33:09 +0100 > From: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > > 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@xxxxxx> > Signed-off-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>