]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/bonding/bond_options.c
Merge tag 'perf-urgent-for-mingo-4.14-20170928' of git://git.kernel.org/pub/scm/linux...
[mirror_ubuntu-bionic-kernel.git] / drivers / net / bonding / bond_options.c
index a12d603d41c6616ed3cba926b204f94492678ff3..5931aa2fe9974c1d20934be9d9ade6451af0cfcc 100644 (file)
@@ -754,6 +754,9 @@ static int bond_option_mode_set(struct bonding *bond,
                           bond->params.miimon);
        }
 
+       if (newval->value == BOND_MODE_ALB)
+               bond->params.tlb_dynamic_lb = 1;
+
        /* don't cache arp_validate between modes */
        bond->params.arp_validate = BOND_ARP_VALIDATE_NONE;
        bond->params.mode = newval->value;