]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: netlink: account for the IFLA_BRPORT_PROXYARP attribute size and policy
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 4 Aug 2015 17:06:32 +0000 (19:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 06:54:42 +0000 (23:54 -0700)
commit02d60b26d613cd022ee5457ce5698a903b723202
treea9fab8b3ebe481acc3d11b07d770333000477c95
parentfc81e5b5a2bce75bfc353726b98e4c89943f6bdd
bridge: netlink: account for the IFLA_BRPORT_PROXYARP attribute size and policy

The attribute size wasn't accounted for in the get_slave_size() callback
(br_port_get_slave_size) when it was introduced, so fix it now. Also add
a policy entry for it in br_port_policy.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Fixes: 4194afc8a8a5 ("bridge: Add support for IEEE 802.11 Proxy ARP")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c