[ovs-dev] [PATCH 3/3] vport-internal: Set vport to NULL when detaching.
Jesse Gross
jesse at nicira.com
Fri Jul 30 20:47:34 UTC 2010
On Fri, Jul 30, 2010 at 9:55 AM, Ben Pfaff <blp at nicira.com> wrote:
> 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.
>
Thanks for the review; I pushed this set out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100730/9c553718/attachment-0003.html>
More information about the dev
mailing list