[PATCH] vxlan: don't expire permanent entries

STALE5102d

2 messages, 2 authors, 2012-10-31 · open the first message on its own page

[PATCH] vxlan: don't expire permanent entries

From: Stephen Hemminger <hidden>
Date: 2012-10-26 16:25:21

VXLAN confused flag versus bitmap on state.
Based on part of a earlier patch by David Stevens.

Signed-off-by: Stephen Hemminger <redacted>
---
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;

Re: [PATCH] vxlan: don't expire permanent entries

From: David Miller <davem@davemloft.net>
Date: 2012-10-31 17:43:02

From: Stephen Hemminger <redacted>
Date: Fri, 26 Oct 2012 09:24:34 -0700
VXLAN confused flag versus bitmap on state.
Based on part of a earlier patch by David Stevens.

Signed-off-by: Stephen Hemminger <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help