From: Toshiaki Makita Date: Fri, 7 Feb 2014 07:48:20 +0000 (+0900) Subject: bridge: Fix the way to find old local fdb entries in br_fdb_change_mac_address X-Git-Tag: v3.14-rc3~36^2~6^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3ebb7efe7033d903d86c9d664f07a9cc21747b3;p=pandora-kernel.git bridge: Fix the way to find old local fdb entries in br_fdb_change_mac_address We have been always failed to delete the old entry at br_fdb_change_mac_address() because br_set_mac_address() updates dev->dev_addr before calling br_fdb_change_mac_address() and br_fdb_change_mac_address() uses dev->dev_addr to find the old entry. That update of dev_addr is completely unnecessary because the same work is done in br_stp_change_bridge_id() which is called right away after calling br_fdb_change_mac_address(). Signed-off-by: Toshiaki Makita Acked-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed