]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 06:54:42 +0000 (23:54 -0700)
commitabb43560c433b0037a98758e77cdd09836847aaa
tree55ac3b17a9af6449ca633bef8b3516c9e7d13e65
parente1eb4f3562bc9cf7cd88d92cbc955625913edc13
bridge: netlink: account for the IFLA_BRPORT_PROXYARP_WIFI 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: 4560b86b7e49 ("bridge: Extend Proxy ARP design to allow optional rules for Wi-Fi")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c