18 lines
651 B
Diff
18 lines
651 B
Diff
|
Read the mac address from the otherend
|
||
|
|
||
|
Signed-off-by: ksrinivasan@novell.com
|
||
|
|
||
|
Index: xen-3.1-testing/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
|
||
|
===================================================================
|
||
|
--- xen-3.1-testing.orig/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
|
||
|
+++ xen-3.1-testing/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
|
||
|
@@ -375,7 +375,7 @@ static int xen_net_read_mac(struct xenbu
|
||
|
char *s, *e, *macstr;
|
||
|
int i;
|
||
|
|
||
|
- macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL);
|
||
|
+ macstr = s = xenbus_read(XBT_NIL, dev->otherend, "mac", NULL);
|
||
|
if (IS_ERR(macstr))
|
||
|
return PTR_ERR(macstr);
|
||
|
|