[dpdk-dev] [PATCH 2/2] kni: fix rtnl deadlocks and race conditions v3

Stephen Hemminger stephen at networkplumber.org
Wed Feb 24 16:54:56 CET 2021


On Wed, 24 Feb 2021 15:49:49 +0300
Igor Ryzhov <iryzhov at nfware.com> wrote:

> This looks more like a hack than an actual fix to me.
> 
> After this commit:
> "ip link set up" is sent to the userspace with unlocked rtnl_lock
> "ip link set down" is sent to the userspace with locked rtnl_lock

Calling userspace with rtnl held is a recipe for disaster


More information about the dev mailing list