summaryrefslogtreecommitdiff
path: root/net/atm/signaling.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-10-04 18:05:08 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-05 12:39:07 +0100
commit0854a0513321cf70bea5fa483ebcaa983cc7c62e (patch)
tree7b0069b5ff26774c06cbda2b48515aed3f762ae1 /net/atm/signaling.c
parentdbe0b88064494b7bb6a9b2aa7e085b14a3112d44 (diff)
net: bridge: fix under estimation in br_get_linkxstats_size()
Commit de1799667b00 ("net: bridge: add STP xstats") added an additional nla_reserve_64bit() in br_fill_linkxstats(), but forgot to update br_get_linkxstats_size() accordingly. This can trigger the following in rtnl_stats_get() WARN_ON(err == -EMSGSIZE); Fixes: de1799667b00 ("net: bridge: add STP xstats") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Vivien Didelot <vivien.didelot@gmail.com> Cc: Nikolay Aleksandrov <nikolay@nvidia.com> Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/signaling.c')
0 files changed, 0 insertions, 0 deletions