From: Wilson Kok Date: Mon, 25 May 2015 13:39:31 +0000 (-0700) Subject: bridge: skip fdb add if the port shouldn't learn X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb8d7baae21584a7b27e79c2deca3eee72376ff0;p=pandora-kernel.git bridge: skip fdb add if the port shouldn't learn Check in fdb_add_entry() if the source port should learn, similar check is used in br_fdb_update. Note that new fdb entries which are added manually or as local ones are still permitted. This patch has been tested by running traffic via a bridge port and switching the port's state, also by manually adding/removing entries from the bridge's fdb. Signed-off-by: Wilson Kok Signed-off-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- Reading git-diff-tree failed