projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e657e07
)
vxlan: don't expire permanent entries
author
stephen hemminger
<shemminger@vyatta.com>
Fri, 26 Oct 2012 06:24:34 +0000
(06:24 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 31 Oct 2012 17:42:12 +0000
(13:42 -0400)
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>
drivers/net/vxlan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/vxlan.c
b/drivers/net/vxlan.c
index 607976c001626a75afbf590411bf6ec1bbff26c0..7b4adde93c016b7e020306220e372524da9f5deb 100644
(file)
--- a/
drivers/net/vxlan.c
+++ b/
drivers/net/vxlan.c
@@
-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;