]> 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)
commit45b29a32657c6e0e80fd5c6fcdaf1be022d6598f
tree11147a5928dc514afa6df227fddc2d2b6c33b311
parent0581a814eea73564e9b080e8f3035e7fa04b04e3
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