diff options
author | Benjamin Poirier <bpoirier@nvidia.com> | 2023-09-18 17:40:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-20 10:00:54 +0200 |
commit | 4e4b1798cc90e376b8b61d0098b4093898a32227 (patch) | |
tree | e51b4da36f16baeca625cd449c6d8fa9a3226f35 /net | |
parent | net: rds: Fix possible NULL-pointer dereference (diff) | |
download | linux-4e4b1798cc90e376b8b61d0098b4093898a32227.tar.xz linux-4e4b1798cc90e376b8b61d0098b4093898a32227.zip |
vxlan: Add missing entries to vxlan_get_size()
There are some attributes added by vxlan_fill_info() which are not
accounted for in vxlan_get_size(). Add them.
I didn't find a way to trigger an actual problem from this miscalculation
since there is usually extra space in netlink size calculations like
if_nlmsg_size(); but maybe I just didn't search long enough.
Fixes: 3511494ce2f3 ("vxlan: Group Policy extension")
Fixes: e1e5314de08b ("vxlan: implement GPE")
Fixes: 0ace2ca89cbd ("vxlan: Use checksum partial with remote checksum offload")
Fixes: f9c4bb0b245c ("vxlan: vni filtering support on collect metadata device")
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions