mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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:3511494ce2("vxlan: Group Policy extension") Fixes:e1e5314de0("vxlan: implement GPE") Fixes:0ace2ca89c("vxlan: Use checksum partial with remote checksum offload") Fixes:f9c4bb0b24("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>
This commit is contained in:
parent
f1d95df0f3
commit
4e4b1798cc
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue