projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c47ced
)
vxlan: send notification when MAC migrates
author
Stephen Hemminger
<stephen@networkplumber.org>
Mon, 17 Jun 2013 21:16:10 +0000
(14:16 -0700)
committer
Stephen Hemminger
<stephen@networkplumber.org>
Mon, 24 Jun 2013 15:40:32 +0000
(08:40 -0700)
When learned entry migrates to another IP send a notification
that entry has changed.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/vxlan.c
patch
|
blob
|
history
diff --git
a/drivers/net/vxlan.c
b/drivers/net/vxlan.c
index
b061c98
..
1f2aa26
100644
(file)
--- a/
drivers/net/vxlan.c
+++ b/
drivers/net/vxlan.c
@@
-629,6
+629,7
@@
static bool vxlan_snoop(struct net_device *dev,
f->remote.remote_ip = src_ip;
f->updated = jiffies;
+ vxlan_fdb_notify(vxlan, f, RTM_NEWNEIGH);
} else {
/* learned new entry */
spin_lock(&vxlan->hash_lock);