net: allow to delete a whole device group
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 24 Mar 2015 18:53:31 +0000 (11:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2015 19:00:01 +0000 (15:00 -0400)
commit66400d543072d6ff6f8df036e3f12f5c154c19cc
tree064dfdb1dcab5dc651bbaba6fc06978c86bc8c63
parent27ed44a5d6d88897002b75f53004d4c565a5aab6
net: allow to delete a whole device group

With dev group, we can change a batch of net devices,
so we should allow to delete them together too.

Group 0 is not allowed to be deleted since it is
the default group.

Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c