]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteaea3873460a96bceafc5a4fd9bb467d08af5e09
tree11147a5928dc514afa6df227fddc2d2b6c33b311
parentc1388c16ad18989b7d8a208c1d50ec11612056ca
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