Revert "bridge: Let bridge not age 'externally' learnt FDB entries, they are removed...
authorDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 07:52:44 +0000 (23:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 07:52:44 +0000 (23:52 -0800)
This reverts commit 9a05dde59a35eee5643366d3d1e1f43fc9069adb.

Requested by Scott Feldman.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c

index 6eb94b58637a72f5e5a435799f391b5338bc683b..08bf04bdac584ddfe6329967727d5afa71dac264 100644 (file)
@@ -280,7 +280,7 @@ void br_fdb_cleanup(unsigned long _data)
 
                hlist_for_each_entry_safe(f, n, &br->hash[i], hlist) {
                        unsigned long this_timer;
-                       if (f->is_static || f->added_by_external_learn)
+                       if (f->is_static)
                                continue;
                        this_timer = f->updated + delay;
                        if (time_before_eq(this_timer, jiffies))