Re: bonding driver - how to recognize the active slave
From: Or Gerlitz <hidden> Date: 2012-12-20 22:27:35
On Thu, Dec 20, 2012 at 11:19 PM, Eric Dumazet [off-list ref] wrote:
cat /sys/class/net/bond0/bonding/active_slave
sure, I think Erez would like to know that from within a network
device kernel code, e.g maybe register to netdev kernel events and on
the event of bonding fail-over identify the active slave for
active-backup mode, etc.
Or.