lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <494108D7.3040304@gslab.com>
Date:	Thu, 11 Dec 2008 18:04:31 +0530
From:	Poornima Kamath <poornimak@...ab.com>
To:	netdev@...r.kernel.org
Subject: Detecting backup slaves of bonding interface in network driver


Hi,
I have a network driver which creates virtual ethernet interfaces. I am 
using the bonding driver in the active backup mode for failover.
I want to detect the interfaces which are backup slaves in the driver.
I found that the  bonding driver sets the IFF_SLAVE_INACTIVE private 
flag of net_device structure for all the backup slaves.
But I dont see any callbacks in my driver when this flag is set.
I am planning to check the netdevice flags in the driver. Is it 
recommended to check the private flags of net_device ?
Or is there some better way in which I can find the backup slaves?

Thanks,
Poornima
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ