]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bridge: netlink: account for the IFLA_BRPORT_PROXYARP_WIFI attribute size and policy
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 4 Aug 2015 17:06:33 +0000 (19:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:26:25 +0000 (19:26 +0200)
commitb291dba31d0862c9262005ee7a8b38f2377494fa
tree166acd1c2196da1c72c1d4266484b91614150b34
parent9000d23361befc59b04273c7b5ae1bfee2eaa4ee
bridge: netlink: account for the IFLA_BRPORT_PROXYARP_WIFI attribute size and policy

[ Upstream commit 786c2077ec8e9eab37a88fc14aac4309a8061e18 ]

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: 842a9ae08a25 ("bridge: Extend Proxy ARP design to allow optional rules for Wi-Fi")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bridge/br_netlink.c