summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-10-04 18:05:07 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-13 09:41:58 +0200
commitdf7983fdbc835c3b30c257d553fbda4f336c7d6f (patch)
treea8908babd7b380e4cbebccc114d963dfd6c9efa2 /tools
parent47afb35c4f8783d07c60c426402185782c990bf1 (diff)
net: bridge: use nla_total_size_64bit() in br_get_linkxstats_size()
[ Upstream commit dbe0b88064494b7bb6a9b2aa7e085b14a3112d44 ] bridge_fill_linkxstats() is using nla_reserve_64bit(). We must use nla_total_size_64bit() instead of nla_total_size() for corresponding data structure. Fixes: 1080ab95e3c7 ("net: bridge: add support for IGMP/MLD stats and export them via netlink") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Nikolay Aleksandrov <nikolay@nvidia.com> Cc: Vivien Didelot <vivien.didelot@gmail.com> Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions