[ovs-dev] [RFC] dpif-netdev:Remove holding the dp_netdev_mutex lock in dpif_netdev_wait

贺鹏 xnhp0320 at gmail.com
Wed Dec 25 08:15:42 UTC 2019


Hi,

I think the holding of dp_netdev_mutex lock can be removed in the
dpif_netdev_wait, as in dpif_netdev_run, the code does not hold the
dp_netdev_mutex lock, just the dp->port_mutex lock.

So I am curious why the code here holds the dp_netdev_mutex lock. If
any one knows it, I will appreciate an explanation. Thanks.

Regards
-- 
hepeng


More information about the dev mailing list