[ovs-dev] [PATCH 06/16] netdev: Add function netdev_is_open().

Jesse Gross jesse at nicira.com
Tue Apr 13 18:00:22 UTC 2010


On Tue, Apr 13, 2010 at 1:24 PM, Ben Pfaff <blp at nicira.com> wrote:

> On Tue, Apr 13, 2010 at 10:41:08AM -0400, Jesse Gross wrote:
> > Add netdev_is_open(), which checks to see if a given netdev is
> > currently open.  It will be used to assist in cleaning up old ports
> > that are no longer in use.
>
> Can a netdev and a netdev_dev have different names?  If not, then can we
> just use the netdev_dev's reference count?  (If so, then when does this
> happen?)
>

No, you're right they can't have different names.  Thank you, that is much
cleaner.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100413/839c0b83/attachment-0003.html>


More information about the dev mailing list