]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:26:25 +0000 (19:26 +0200)
commit9000d23361befc59b04273c7b5ae1bfee2eaa4ee
tree5e081eb41e033464b5454bd7b43bd5aaae5341cb
parent89b2791c0fd6938a1c2124589fe1b0f699d4b0d2
bridge: netlink: account for the IFLA_BRPORT_PROXYARP attribute size and policy

[ Upstream commit 355b9f9df1f0311f20087350aee8ad96eedca8a9 ]

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: 958501163ddd ("bridge: Add support for IEEE 802.11 Proxy ARP")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bridge/br_netlink.c