vxlan: use appropriate family on L3 miss
authorVincent Bernat <vincent@bernat.im>
Fri, 10 Mar 2017 15:30:24 +0000 (16:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 06:31:05 +0000 (23:31 -0700)
commit8f48ba71ede12231d5d63fdd34bd8ce7908a3377
treec6ee7e32f621d52d0057d6cb01794856c09b8790
parent8b57fd1ec13e22b3e722891ff7a6e6ccaf286779
vxlan: use appropriate family on L3 miss

When sending a L3 miss, the family is set to AF_INET even for IPv6. This
causes userland (eg "ip monitor") to be confused. Ensure we send the
appropriate family in this case. For L2 miss, keep using AF_INET.

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c