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)
commit26a41ae604381c5cc0caf1c3261ca6b298b5fe69
tree011b32f24b97a5f5d5aa1fb7b97c8583bd90d634
parent3bf74b1aecdce719f1445200d5db7dfee2297bba
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