Acked-by: Andy Zhou <az...@nicira.com>
On Thu, Aug 1, 2013 at 2:29 PM, Ben Pfaff <b...@nicira.com> wrote: > Signed-off-by: Ben Pfaff <b...@nicira.com> > --- > lib/netdev-linux.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c > index 29daef8..ba0d863 100644 > --- a/lib/netdev-linux.c > +++ b/lib/netdev-linux.c > @@ -537,7 +537,6 @@ static void > netdev_linux_cache_cb(const struct rtnetlink_link_change *change, > void *aux OVS_UNUSED) > { > - struct netdev_linux *dev; > if (change) { > struct netdev *base_dev = netdev_from_name(change->ifname); > if (base_dev && > is_netdev_linux_class(netdev_get_class(base_dev))) { > @@ -551,10 +550,9 @@ netdev_linux_cache_cb(const struct > rtnetlink_link_change *change, > netdev_get_devices(&netdev_linux_class, &device_shash); > SHASH_FOR_EACH (node, &device_shash) { > struct netdev *netdev = node->data; > + struct netdev_linux *dev = netdev_linux_cast(netdev); > unsigned int flags; > > - dev = netdev_linux_cast(netdev); > - > get_flags(&dev->up, &flags); > netdev_linux_changed(dev, flags, 0); > } > -- > 1.7.10.4 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev >
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev