]> git.baikalelectronics.ru Git - kernel.git/commit
net_device: add support for network device groups
authorVlad Dogaru <ddvlad@rosedu.org>
Thu, 13 Jan 2011 23:38:30 +0000 (23:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jan 2011 07:31:09 +0000 (23:31 -0800)
commita0306bb71c0d86af849ca678b3f936cbf0538367
tree113206ef603189e9f91f075e154cbdc8e1ac3f40
parent62633ad24fc25fa980ec411a5e5ec2014357d9b1
net_device: add support for network device groups

Net devices can now be grouped, enabling simpler manipulation from
userspace. This patch adds a group field to the net_device structure, as
well as rtnetlink support to query and modify it.

Signed-off-by: Vlad Dogaru <ddvlad@rosedu.org>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_link.h
include/linux/netdevice.h
net/core/dev.c
net/core/rtnetlink.c