[ovs-dev] [PATCH 3/3] vport-internal: Set vport to NULL when detaching.

Ben Pfaff blp at nicira.com
Fri Jul 30 16:55:42 UTC 2010


On Thu, Jul 29, 2010 at 05:38:55PM -0700, Jesse Gross wrote:
> 'struct net_device' is refcounted and can stick around for quite a
> while if someone is still holding a reference to it.  However, we
> free the vport that it is attached to in the next RCU grace period
> after detach.  This assigns the vport to NULL on detach and adds
> appropriate checks.

Seems reasonable.  Thank you.




More information about the dev mailing list