* [PATCH] vxlan: don't expire permanent entries
@ 2012-10-26 16:24 Stephen Hemminger
2012-10-31 17:42 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2012-10-26 16:24 UTC (permalink / raw)
To: David Miller, John Southworth; +Cc: netdev
VXLAN confused flag versus bitmap on state.
Based on part of a earlier patch by David Stevens.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
---
Applies to 3.7.0-rc2. Needs to be fixed in 3.7 series
--- a/drivers/net/vxlan.c 2012-10-11 11:06:10.032585615 -0700
+++ b/drivers/net/vxlan.c 2012-10-26 09:19:30.734585097 -0700
@@ -816,7 +816,7 @@ static void vxlan_cleanup(unsigned long
= container_of(p, struct vxlan_fdb, hlist);
unsigned long timeout;
- if (f->state == NUD_PERMANENT)
+ if (f->state & NUD_PERMANENT)
continue;
timeout = f->used + vxlan->age_interval * HZ;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-31 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-26 16:24 [PATCH] vxlan: don't expire permanent entries Stephen Hemminger
2012-10-31 17:42 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox