commit | 4a8bb7e27fbb68da888b55f26defd2855225b2d5 | [log] [tgz] |
---|---|---|
author | Veaceslav Falico <vfalico@redhat.com> | Tue Nov 15 06:44:42 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 17 19:31:54 2011 -0500 |
tree | 3eed4c74cbfceea961a8c18c3de1848b60be2437 | |
parent | 596a1b746c56f974240c8df6d8e3a026c54266ff [diff] |
bonding: Don't allow mode change via sysfs with slaves present When changing mode via bonding's sysfs, the slaves are not initialized correctly. Forbid to change modes with slaves present to ensure that every slave is initialized correctly via bond_enslave(). Signed-off-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: Andy Gospodarek <andy@greyhouse.net> Acked-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr> Signed-off-by: David S. Miller <davem@davemloft.net>