From: Nicolas Dichtel <[email protected]>
Date: Tue, 6 Feb 2018 14:48:32 +0100
> Nowadays, nlmsg_multicast() returns only 0 or -ESRCH but this was not the
> case when commit 134e63756d5f was pushed.
> However, there was no reason to stop the loop if a netns does not have
> listeners.
> Returns -ESRCH only if there was no listeners in all netns.
>
> To avoid having the same problem in the future, I didn't take the
> assumption that nlmsg_multicast() returns only 0 or -ESRCH.
>
> Fixes: 134e63756d5f ("genetlink: make netns aware")
> CC: Johannes Berg <[email protected]>
> Signed-off-by: Nicolas Dichtel <[email protected]>
Ok, that indeed preserves the original behavior. Given this has
been this way since 2.6.32 I wonder if fixing this might break
something.
Regardless, applied and queued up for -stable, thanks.