rtnetlink: implement setting of master device
authorJiri Pirko <jpirko@redhat.com>
Sun, 13 Feb 2011 10:15:37 +0000 (10:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Feb 2011 00:58:39 +0000 (16:58 -0800)
commitfbaec0ea54f7d9131891ff98744e82c073ce03b1
treed0622d38a51b7e4a1e853338e7cbd954d3977cf2
parentf45437efff460aa033978180da88229c5fc68455
rtnetlink: implement setting of master device

This patch allows userspace to enslave/release slave devices via netlink
interface using IFLA_MASTER. This introduces generic way to add/remove
underling devices.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/rtnetlink.c