]> git.ipfire.org Git - thirdparty/kernel/linux.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)
commit600bea7dba1a72874ae0cd9bc66bf2abfe43b49d
tree74b5ca54163cf8e3593aa0dd8a0ad9fed758f8ba
parent3321b6c23fb330e690ed5cf1336c827e07843200
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: 9163a0fc1f0c0 ("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