vxlan: don't expire permanent entries
Subsystems (2)
PATCH 1/1 vxlan: don't expire permanent entries
VXLAN confused flag versus bitmap on state. Based on part of a earlier patch by David Stevens.
Signed-off-by Stephen Hemminger <[email protected]>
---
Applies to 3.7.0-rc2. Needs to be fixed in 3.7 series
drivers/net/vxlan.c +1 -1
@@ -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 ;
From: Stephen Hemminger <[email protected]>
Date: Fri, 26 Oct 2012 09:24:34 -0700
Quoted 4 lines
VXLAN confused flag versus bitmap on state. Based on part of a earlier patch by David Stevens.
Signed-off-by Stephen Hemminger <[email protected]>
Applied.