]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: fix snooping for link-local IPv6 addresses
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 19 Jun 2017 08:03:59 +0000 (10:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 17:37:03 +0000 (13:37 -0400)
commitd7a8d5544d36fc8fda716c8f1f2ecc25d869755d
treea3e867402e93d7f66a688cb5b8373827ab353478
parentced3df3cddace5ecbedc1c9fb2bb40857240e902
vxlan: fix snooping for link-local IPv6 addresses

If VXLAN is run over link-local IPv6 addresses, it is necessary to store
the ifindex in the FDB entries. Otherwise, the used interface is undefined
and unicast communication will most likely fail.

Support for link-local IPv4 addresses should be possible as well, but as
the semantics aren't as well defined as for IPv6, and there doesn't seem to
be much interest in having the support, it's not implemented for now.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c