netdev-dummy: Use netdev_get_devices() instead of a local shash.
authorBen Pfaff <blp@nicira.com>
Thu, 25 Jul 2013 23:11:52 +0000 (16:11 -0700)
committerBen Pfaff <blp@nicira.com>
Sat, 10 Aug 2013 04:08:31 +0000 (21:08 -0700)
commit86f1d0326bd07ebf0f3dcb197007d7b67c205cbe
tree07fcc0cd4dcaed7724bc1105183de61c2569e93b
parent6273244ac740f54d46163a169836544373d594d0
netdev-dummy: Use netdev_get_devices() instead of a local shash.

When an upcoming commit introduces thread safety into the netdev API, this
allows netdev-dummy to avoid adding more internal locking by taking
advantage of netdev_get_devices() refcounting.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netdev-dummy.c