mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
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 <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e657e078d3
commit
3c172868cb
@ -816,7 +816,7 @@ static void vxlan_cleanup(unsigned long arg)
|
||||
= 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user