bonding: allow xmit hash policy change while bond dev is up
authorNikolay Aleksandrov <nikolay@redhat.com>
Fri, 24 May 2013 00:59:47 +0000 (00:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 06:27:14 +0000 (23:27 -0700)
commit53edee2cfbcd869371cb720f1c00d85ba7f2566c
tree11147a5928dc514afa6df227fddc2d2b6c33b311
parent1a9561a3bd0faaffa14dc20430805a46e311d00e
bonding: allow xmit hash policy change while bond dev is up

Since the xmit_hash_policy pointer is always valid and not dependent on
anything, we can change it while the bond device is up and running. The
only downside would be the out of order packets but that is a small price
to pay.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_sysfs.c