]> git.baikalelectronics.ru Git - kernel.git/commit
macvlan: export macvlan mode through netlink
authorArnd Bergmann <arnd@arndb.de>
Thu, 26 Nov 2009 06:07:11 +0000 (06:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Nov 2009 23:53:10 +0000 (15:53 -0800)
commitb1e5c3e49725471f02cb6e5a9ab884e6e3d77425
tree447d5db320dfa2d558a73f841c76b04b975e6ee0
parent471c35bb3c2d6383787649ff10a126c89d978b97
macvlan: export macvlan mode through netlink

In order to support all three modes of macvlan at
runtime, extend the existing netlink protocol
to allow choosing the mode per macvlan slave
interface.

This depends on a matching patch to iproute2
in order to become accessible in user land.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c
include/linux/if_link.h