macvtap add missing ioctls - fix wrapping
authorJustin Cormack <justin@myriabit.com>
Mon, 11 May 2015 19:00:10 +0000 (20:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 03:01:01 +0000 (23:01 -0400)
commitb5082083392224eca4c46abde908ab0e4210510c
tree7f8014b9fc4998b43d207139f09a5d0ead691ac6
parenta62b70ddd13993e3706acf3021bf2680461195f4
macvtap add missing ioctls - fix wrapping

The macvtap driver tries to emulate all the ioctls supported by a normal
tun/tap driver, however it was missing the generic SIOCGIFHWADDR and
SIOCSIFHWADDR ioctls to get and set the mac address that are supported
by tun/tap. This patch adds these.

Signed-off-by: Justin Cormack <justin@netbsd.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c