提交 dcd45e06 编写于 作者: S Siva Mannem 提交者: David S. Miller

bridge: don't age externally added FDB entries

Signed-off-by: NSiva Mannem <siva.mannem.lnx@gmail.com>
Signed-off-by: NScott Feldman <sfeldma@gmail.com>
Acked-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: NJiri Pirko <jiri@resnulli.us>
Acked-by: NPremkumar Jonnala <pjonnala@broadcom.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 52fe3e2d
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册