diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 09855be219e9535ba373f5a6deaf70aff86c6b80..1e54fb5c883ad77c3d51752fcae18dd33d8f4e95 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -2322,6 +2322,9 @@ static void vxlan_cleanup(unsigned long arg) if (f->state & (NUD_PERMANENT | NUD_NOARP)) continue; + if (f->flags & NTF_EXT_LEARNED) + continue; + timeout = f->used + vxlan->cfg.age_interval * HZ; if (time_before_eq(timeout, jiffies)) { netdev_dbg(vxlan->dev,