[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49F41982.4050608@Voltaire.com>
Date: Sun, 26 Apr 2009 11:21:22 +0300
From: Or Gerlitz <ogerlitz@...taire.com>
To: Jay Vosburgh <fubar@...ibm.com>
CC: netdev@...r.kernel.org, kaber@...sh.net
Subject: Re: more findings/questions on vlans/bonds
Jay Vosburgh wrote:
>> $ cat /sys/class/net/eth0.4001/carrier
>> cat: /sys/class/net/eth0.4001/carrier: Invalid argument
> I suspect the "carrier: Invalid argument" response you describe
> above is a result of the show_carrier function in net-sysfs.c, which
> returns EINVAL if the device is not netif_running. If the device (vlan
> or not) is running, the carrier is returned.
Yes, I see now that this is indeed the case with the sysfs code.
> So, here's a patch with a description. This resolves the
> bonding problem for me
many thanks for doing this patch
Or.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists