* Re: [Bonding-devel] Re: [PATCH 2/10] [bonding 2.6] fix monitoring functions [not found] <E6F7D288B394A64585E67497E5126BA601F99143@hasmsx403.iil.intel.com> @ 2003-10-30 8:56 ` Amir Noam 2003-10-30 17:12 ` Jay Vosburgh 0 siblings, 1 reply; 3+ messages in thread From: Amir Noam @ 2003-10-30 8:56 UTC (permalink / raw) To: Jeff Garzik; +Cc: davem, bonding-devel, netdev On Wednesday 29 October 2003 10:01 pm, Jeff Garzik wrote: > applied to 2.6. does this need to go into 2.4, too? As Jay has pointed out this is already in 2.4. However, the following patch that restores backward compatibility with old ifenslave is still needed for 2.6. I see that it's already been applied by David Miller to 2.4. Amir diff -Naurp a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c --- a/drivers/net/bonding/bond_main.c Thu Oct 30 10:38:34 2003 +++ b/drivers/net/bonding/bond_main.c Thu Oct 30 10:45:02 2003 @@ -3047,6 +3047,10 @@ static int bond_ioctl(struct net_device case SIOCBONDRELEASE: ret = bond_release(master_dev, slave_dev); break; + case BOND_SETHWADDR_OLD: + case SIOCBONDSETHWADDR: + res = bond_sethwaddr(bond_dev, slave_dev); + break; case BOND_CHANGE_ACTIVE_OLD: case SIOCBONDCHANGEACTIVE: if (USES_PRIMARY(bond_mode)) { ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bonding-devel] Re: [PATCH 2/10] [bonding 2.6] fix monitoring functions 2003-10-30 8:56 ` [Bonding-devel] Re: [PATCH 2/10] [bonding 2.6] fix monitoring functions Amir Noam @ 2003-10-30 17:12 ` Jay Vosburgh 0 siblings, 0 replies; 3+ messages in thread From: Jay Vosburgh @ 2003-10-30 17:12 UTC (permalink / raw) To: Amir Noam; +Cc: Jeff Garzik, davem, bonding-devel, netdev >However, the following patch that restores backward compatibility with >old ifenslave is still needed for 2.6. I see that it's already been >applied by David Miller to 2.4. I thought we were dropping the ancient (SIOCDEVPRIVATE) backwards compatibility in 2.6. -J --- -Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <E6F7D288B394A64585E67497E5126BA601F99145@hasmsx403.iil.intel.com>]
* Re: [Bonding-devel] Re: [PATCH 2/10] [bonding 2.6] fix monitoring functions [not found] <E6F7D288B394A64585E67497E5126BA601F99145@hasmsx403.iil.intel.com> @ 2003-11-02 14:53 ` Amir Noam 0 siblings, 0 replies; 3+ messages in thread From: Amir Noam @ 2003-11-02 14:53 UTC (permalink / raw) To: Jay Vosburgh; +Cc: Jeff Garzik, davem, bonding-devel, netdev On Thursday 30 October 2003 07:12 pm, Jay Vosburgh wrote: > >However, the following patch that restores backward > > compatibility with old ifenslave is still needed for 2.6. I > > see that it's already been applied by David Miller to 2.4. > > I thought we were dropping the ancient > (SIOCDEVPRIVATE) backwards compatibility in 2.6. This patch restores compatibility with old ifenslave versions that still use the SIOCBONDSETHWADDR command, not necessarily the SIOCDEVPRIVATE ioctls, so this patch is definitely needed for now. If we really want to remove backward compatibility in 2.6 we should do it for all bonding commands and replace them with the new interface. The problem is, since 2.6 is in effect in code freeze I'm not sure if we can actually replace the bonding<->ifenslave interface at this time (as much as I'd like to do it). Jeff, David, We haven't heard from either one of you on this issue: We want to drop support for SIOCDEVPRIVATE in 2.6. As a side effect this will force users to upgrade their user land tools anyway, so we might as well use this opportunity to insert the new interface to replace the current one. (Obviously, it would be preferable for such a change to take effect before 2.6.0 is made final) What do you think about making changes to the 2.6 bonding that will force users to upgrade their ifenslave application? (this new ifenslave will be, of course, backward compatible with 2.4 bonding). For now, however, this patch that restores backward compatibility is still needed for 2.6. I've noticed I'd sent out the wrong patch before (on 2003/10/30), so here is the corrected patch. Sorry for the mix up. Amir diff -Naurp a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c --- a/drivers/net/bonding/bond_main.c Thu Oct 30 10:38:34 2003 +++ b/drivers/net/bonding/bond_main.c Sun Nov 2 15:14:21 2003 @@ -3047,6 +3047,10 @@ static int bond_ioctl(struct net_device case SIOCBONDRELEASE: ret = bond_release(master_dev, slave_dev); break; + case BOND_SETHWADDR_OLD: + case SIOCBONDSETHWADDR: + ret = bond_sethwaddr(master_dev, slave_dev); + break; case BOND_CHANGE_ACTIVE_OLD: case SIOCBONDCHANGEACTIVE: if (USES_PRIMARY(bond_mode)) { ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-02 14:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E6F7D288B394A64585E67497E5126BA601F99143@hasmsx403.iil.intel.com>
2003-10-30 8:56 ` [Bonding-devel] Re: [PATCH 2/10] [bonding 2.6] fix monitoring functions Amir Noam
2003-10-30 17:12 ` Jay Vosburgh
[not found] <E6F7D288B394A64585E67497E5126BA601F99145@hasmsx403.iil.intel.com>
2003-11-02 14:53 ` Amir Noam
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).