]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: fix netlink export of vlan_stats_per_port option
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 16 Apr 2019 13:15:56 +0000 (16:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2019 04:40:29 +0000 (21:40 -0700)
commitbebff7d17e64e004cd4d51499aa04699cf584036
tree74b5ca54163cf8e3593aa0dd8a0ad9fed758f8ba
parent7368d25c1da8ec3ad07aaf88a777c4b2d22427f0
net: bridge: fix netlink export of vlan_stats_per_port option

Since the introduction of the vlan_stats_per_port option the netlink
export of it has been broken since I made a typo and used the ifla
attribute instead of the bridge option to retrieve its state.
Sysfs export is fine, only netlink export has been affected.

Fixes: a0f3c17c04dd3 ("net: bridge: add support for per-port vlan stats")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c