]> 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)
commit4219cdda04ae4d544768f09da51fb48e6d2790b9
tree7f8014b9fc4998b43d207139f09a5d0ead691ac6
parent36eccf87556680af0510af398f3cd6ccc1315209
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