Skip to content
Commit 3013dc0c authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

3c59x: shorten timer period for slave devices



Jean Delvare reported bonding on top of 3c59x adapters was not detecting
network cable removal fast enough.

3c59x indeed uses a 60 seconds timer to check link status if carrier is
on, and 5 seconds if carrier is off.

This patch reduces timer period to 5 seconds if device is a bonding
slave.

Reported-by: default avatarJean Delvare <jdelvare@suse.de>
Acked-by: default avatarJean Delvare <jdelvare@suse.de>
Acked-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 58e05f35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment