]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
bridge: netlink: make br_fill_info's frame size smaller
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Mon, 5 Oct 2015 10:11:21 +0000 (12:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:15:57 +0000 (04:15 -0700)
commit4917a1548ff41e53d863d6845b4da1884e4282b4
tree437b1b791b33585da556e1d52214be34159a8d7c
parent16660f0bd942cec203eaf4de0e2ac1695bd9d32d
bridge: netlink: make br_fill_info's frame size smaller

When KASAN is enabled the frame size grows > 2048 bytes and we get a
warning, so make it smaller.
net/bridge/br_netlink.c: In function 'br_fill_info':
>> net/bridge/br_netlink.c:1110:1: warning: the frame size of 2160 bytes
>> is larger than 2048 bytes [-Wframe-larger-than=]

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c