I think we just need to copy our address to the child interface. This
patch seems to fix it for me (already checked in).
(By the way, how does IPv6 handle autoconfig for VLAN interfaces?
With this change you can get duplicate autoconfig'ed addresses,
although they will be in different partitions. I'm not sure if this
causes any problems...)
- R.
Index: infiniband/ulp/ipoib/ipoib_vlan.c
===================================================================
--- infiniband/ulp/ipoib/ipoib_vlan.c (revision 1212)
+++ infiniband/ulp/ipoib/ipoib_vlan.c (working copy)
@@ -74,6 +74,7 @@
priv->pkey = pkey;
+ memcpy(priv->dev->dev_addr, ppriv->dev->dev_addr, IPOIB_HW_ADDR_LEN);
priv->dev->broadcast[8] = pkey >> 8;
priv->dev->broadcast[9] = pkey & 0xff;
_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general