Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
[sfrench/cifs-2.6.git] / drivers / infiniband / ulp / ipoib / ipoib_main.c
index bb904ec511bea26c567685edab19a37fb1c1e3c9..ac0583ff280d1b5fd3efecec56a9ce9c92a43a11 100644 (file)
@@ -2004,6 +2004,7 @@ static int ipoib_get_vf_config(struct net_device *dev, int vf,
                return err;
 
        ivf->vf = vf;
+       memcpy(ivf->mac, dev->dev_addr, dev->addr_len);
 
        return 0;
 }