Re: [PATCH net] netlink: netlink_diag_dump() runs without locks

From: David Miller
Date: Thu Nov 03 2016 - 16:20:27 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Wed, 02 Nov 2016 20:21:20 -0700

> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> A recent commit removed locking from netlink_diag_dump() but forgot
> one error case.
...
> Fixes: ad202074320c ("netlink: Use rhashtable walk interface in diag dump")
> Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>
> Reported-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
> Tested-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>

Applied.