]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: support ndo_fill_metadata_dst also for IPv6
authorJiri Benc <jbenc@redhat.com>
Mon, 7 Dec 2015 12:04:31 +0000 (13:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2015 21:31:25 +0000 (16:31 -0500)
commit14dc4b47175f4acd562ebaf5d7bfd5642050dbc5
tree526afb92723974e700cfcd048e71d09480a2765d
parentdce3dc38ab963aaf338f8c51e99855ba869d724c
vxlan: support ndo_fill_metadata_dst also for IPv6

Fill the metadata correctly even when tunneling over IPv6. Also, check that
the provided metadata is of an address family that is supported by the
tunnel.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c