diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-06-19 10:03:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-20 13:37:02 -0400 |
commit | 0f22a3c68d5fd1696dbc15c45d7ea375c865b7a1 (patch) | |
tree | e35cb2b75860e48d811011732d0b10e73620f10d /drivers/mtd | |
parent | vxlan: improve validation of address family configuration (diff) | |
download | linux-dev-0f22a3c68d5fd1696dbc15c45d7ea375c865b7a1.tar.xz linux-dev-0f22a3c68d5fd1696dbc15c45d7ea375c865b7a1.zip |
vxlan: check valid combinations of address scopes
* Multicast addresses are never valid as local address
* Link-local IPv6 unicast addresses may only be used as remote when the
local address is link-local as well
* Don't allow link-local IPv6 local/remote addresses without interface
We also store in the flags field if link-local addresses are used for the
follow-up patches that actually make VXLAN over link-local IPv6 work.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions