]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bonding:record primary when modify it via sysfs
authorWeiping Pan <wpan@redhat.com>
Sun, 10 Jun 2012 23:00:20 +0000 (23:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jun 2012 22:23:11 +0000 (15:23 -0700)
commit8a93664df90db983cfede122f9b4ddb3a8284e52
tree2b1da6946606e88a853edb62b3851a2b616d7c00
parent5aa04d3af8916d890836ccaa9d146edee1e4c655
bonding:record primary when modify it via sysfs

If we modify primary via sysfs and it is not a valid slave,
we should record it for future use, and this behavior is the same with
bond_check_params().

Signed-off-by: Weiping Pan <wpan@redhat.com>
Acked-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_sysfs.c