]> git.hungrycats.org Git - linux/commitdiff
[PATCH] [bonding 2.6] Restore missing backward compatibility
authorAmir Noam <amir.noam@intel.com>
Thu, 20 Nov 2003 07:08:02 +0000 (02:08 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 20 Nov 2003 07:08:02 +0000 (02:08 -0500)
This patch (against latest 2.6.0) is also waiting for almost a month.
It's already in 2.4 but is still very much needed for 2.6.

Old ifenslave versions (like the one in Red Hat 9) don't work with
the bonding module in the latest 2.6 kernel without it.

Amir

drivers/net/bonding/bond_main.c

index a3faa18416d7a65f123805d341b0cd03eb5be875..4e5985ea70789f29ea0fb083e547d22166c74c54 100644 (file)
@@ -3047,6 +3047,10 @@ static int bond_ioctl(struct net_device *master_dev, struct ifreq *ifr, int cmd)
                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)) {