datapath: Don't use Nicira's OUI for generating mac-address.
[openvswitch] / datapath / vport-internal_dev.c
index bc7b70e6dcfaf8c9f8f6669ffcfb5de93ebe3bb9..67f2826092d02faa18c3f8c9bd65a2f419cde0ba 100644 (file)
@@ -203,7 +203,7 @@ static void do_setup(struct net_device *netdev)
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
        netdev->hw_features = netdev->features & ~NETIF_F_LLTX;
 #endif
-       vport_gen_rand_ether_addr(netdev->dev_addr);
+       random_ether_addr(netdev->dev_addr);
 }
 
 static struct vport *internal_dev_create(const struct vport_parms *parms)