Re: [PATCH] netlink: Deal with ESRCH error in nlmsg_notify()

From: Cong Wang
Date: Tue Jul 20 2021 - 00:30:46 EST


On Sun, Jul 18, 2021 at 10:19 PM Yajun Deng <yajun.deng@xxxxxxxxx> wrote:
> The failure seems due to the commit
> cfdf0d9ae75b ("rtnetlink: use nlmsg_notify() in rtnetlink_send()")
>
> Deal with ESRCH error in nlmsg_notify() even the report variable is zero.

Looks like the tc-testing failure I saw is also due to this...

Why not just revert the above commit which does not have
much value? It at most saves some instructions.

Thanks.