rtnetlink: add IFLA_GROUP to ifla_policy
authorSerhey Popovych <serhe.popovych@gmail.com>
Tue, 20 Jun 2017 11:35:23 +0000 (14:35 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 15 Sep 2017 17:30:55 +0000 (18:30 +0100)
commitf2a348403e8e80b163993e7105c30c62e3f12048
tree296e034a9ffc9d4153bd7c305d920b05536e2956
parentf7c276425d6448d74a3d1636a43f01b73da696eb
rtnetlink: add IFLA_GROUP to ifla_policy

commit db833d40ad3263b2ee3b59a1ba168bb3cfed8137 upstream.

Network interface groups support added while ago, however
there is no IFLA_GROUP attribute description in policy
and netlink message size calculations until now.

Add IFLA_GROUP attribute to the policy.

Fixes: cbda10fa97d7 ("net_device: add support for network device groups")
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/core/rtnetlink.c