We were storing a struct netdev_dev_linux ** instead of a
netdev_dev_linux * in the cache map. This prevented the cache
from being invalidated on changes such as link status.
}
netdev_dev = xzalloc(sizeof *netdev_dev);
- netdev_dev->shash_node = shash_add(&cache_map, name, &netdev_dev);
+ netdev_dev->shash_node = shash_add(&cache_map, name, netdev_dev);
netdev_dev_init(&netdev_dev->netdev_dev, name, &netdev_linux_class);
*netdev_devp = &netdev_dev->netdev_dev;