]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26880323b33525d978fb9a91f851a590aa5dbe38
tree7f8014b9fc4998b43d207139f09a5d0ead691ac6
parent319755692a6fad0e03ae91a9192231e04fe9e91e
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