]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: only migrate dynamic FDB entries
authorstephen hemminger <stephen@networkplumber.org>
Mon, 17 Jun 2013 19:09:58 +0000 (12:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2013 22:55:46 +0000 (15:55 -0700)
commit3472223b34e1052662cfb574d257685fe2bfc527
tree011b32f24b97a5f5d5aa1fb7b97c8583bd90d634
parent49ba5cfd4acc9afdd708dd7bd272326794d48e08
vxlan: only migrate dynamic FDB entries

Only migrate dynamic forwarding table entries, don't modify
static entries. If packet received from incorrect source IP address
assume it is an imposter and drop it.

This patch applies only to -net, a different patch would be needed for earlier
kernels since the NTF_SELF flag was introduced with 3.10.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c