[prev in list] [next in list] [prev in thread] [next in thread]
List: openvswitch-dev
Subject: [ovs-dev] [PATCH 3/3] vport-internal: Set vport to NULL when detaching.
From: jesse () nicira ! com (Jesse Gross)
Date: 2010-07-30 20:47:34
Message-ID: AANLkTim3RadZDugtuu0+OAWLgTcAazcrCYqrnr=DiaWm () mail ! gmail ! com
[Download RAW message or body]
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://openvswitch.org/pipermail/dev/attachments/20100730/9c553718/attachment.htm>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic