From: Veaceslav Falico Date: Mon, 7 Oct 2013 07:17:20 +0000 (+0200) Subject: bonding: ensure that TLB mode's active slave has correct mac filter X-Git-Tag: v3.13-rc1~105^2~217 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4996b9098d5522f9d3233af6a7efd1fac5d43f00;p=pandora-kernel.git bonding: ensure that TLB mode's active slave has correct mac filter Currently, in TLB mode we change mac addresses only by memcpy-ing the to net_device->dev_addr, without actually setting them via dev_set_mac_address(). This permits us to receive all the traffic always on one mac address. However, in case the interface flips, some drivers might enforce the mac filtering for its FW/HW based on current ->dev_addr, and thus we won't be able to receive traffic on that interface, in case it will be selected as active in TLB mode. Fix it by setting the mac address forcefully on every new active slave that we select in TLB mode. CC: Jay Vosburgh CC: Andy Gospodarek CC: Yuval Mintz Reported-by: Yuval Mintz Tested-by: Yuval Mintz Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed