From eb8d7baae21584a7b27e79c2deca3eee72376ff0 Mon Sep 17 00:00:00 2001 From: Wilson Kok Date: Mon, 25 May 2015 06:39:31 -0700 Subject: [PATCH] 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-format-patch failed