[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <77EF4405DD4BB54AACCE7DB593DF6A9A9F11F7@SJEXCHMB14.corp.ad.broadcom.com>
Date: Tue, 22 Sep 2015 08:22:17 +0000
From: Premkumar Jonnala <pjonnala@...adcom.com>
To: "sfeldma@...il.com" <sfeldma@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "jiri@...nulli.us" <jiri@...nulli.us>,
"siva.mannem.lnx@...il.com" <siva.mannem.lnx@...il.com>,
"stephen@...workplumber.org" <stephen@...workplumber.org>,
"roopa@...ulusnetworks.com" <roopa@...ulusnetworks.com>,
"andrew@...n.ch" <andrew@...n.ch>,
"f.fainelli@...il.com" <f.fainelli@...il.com>,
"vivien.didelot@...oirfairelinux.com"
<vivien.didelot@...oirfairelinux.com>
Subject: RE: [PATCH net-next 6/7] bridge: don't age externally added FDB
entries
> From: Siva Mannem <siva.mannem.lnx@...il.com>
>
> Signed-off-by: Siva Mannem <siva.mannem.lnx@...il.com>
> Signed-off-by: Scott Feldman <sfeldma@...il.com>
Acked-by: Premkumar Jonnala <pjonnala@...adcom.com>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists