]> 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)
commitdcc5867f81f69dac5d714063e1cf95e008899820
tree011b32f24b97a5f5d5aa1fb7b97c8583bd90d634
parent7fb8571841d4af9c149fbdf53b82ae648e1cfc93
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