Subject: [PATCH net-next 6/7] bridge: don't age externally added FDB entries

From: [email-masked]
Date: Fri, 18 Sep 2015 12:55:50 -0700

From: Siva Mannem <[email-masked]>

Signed-off-by: Siva Mannem <[email-masked]>
Signed-off-by: Scott Feldman <[email-masked]>
---
 net/bridge/br_fdb.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
index 9e9875d..6663cc0 100644
--- a/net/bridge/br_fdb.c
+++ b/net/bridge/br_fdb.c
@@ -299,6 +299,8 @@ void br_fdb_cleanup(unsigned long _data)
 			unsigned long this_timer;
 			if (f->is_static)
 				continue;
+			if (f->added_by_external_learn)
+				continue;
 			this_timer = f->updated + delay;
 			if (time_before_eq(this_timer, jiffies))
 				fdb_delete(br, f);
-- 
1.7.10.4