Thanks Tommy, the vlan MII ioctl pass through was passing the wrong device.

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--
diff -Nru a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
--- a/net/8021q/vlan_dev.c      2004-09-10 06:12:16 -07:00
+++ b/net/8021q/vlan_dev.c      2004-09-10 06:12:16 -07:00
@@ -772,7 +772,7 @@
        case SIOCGMIIREG:
        case SIOCSMIIREG:
                if (real_dev->do_ioctl && netif_device_present(real_dev)) 
-                       err = real_dev->do_ioctl(dev, &ifrr, cmd);
+                       err = real_dev->do_ioctl(real_dev, &ifrr, cmd);
                break;
 
        case SIOCETHTOOL:

_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://lists.osdl.org/mailman/listinfo/bridge

Reply via email to