Re: [request for stable inclusion] [2.6.32] ethtool: Report link-down while interface is down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 27, 2014 at 11:24:28AM +0800, Wang Weidong wrote:
> ~ # modprobe bonding
> ~ # ethtool bond0
>     Settings for bond0:
> 	     Link detected: no
> ~ # ifconfig eth1 down
> ~ # echo +eth1 > /sys/class/net/bond0/bonding/slaves
> ~ # ethtool bond0
>     Settings for bond0:
> 	     Link detected: *yes*
> 
> *Here*, use 'ip link show bond0' we can see the state is *DOWN*, but
> the ethtool report is yes, which is wrong.
> 
> And then, we do that 'ifconfig bond0 down; ethtool bond0', we get the
> wrong report "Link detected: yes".

OK, thank you. Clearly this is wrong and needs to be fixed, otherwise
programs like keepalived which monitor the link will get it wrong!

Thanks,
Willy

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]