]> 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)
commitc22e48471661af21d75be5231644e1bb7356faad
treea3e867402e93d7f66a688cb5b8373827ab353478
parent3d4d3acdab4f10e3c0ae3acc502f10cff35b1389
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