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)
commit239e944ff532de6e9579b3913d7f76b4f01c7e2f
tree526afb92723974e700cfcd048e71d09480a2765d
parente5d4b29fe86a911f447d2f1e95383e04c7cfb465
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