Commit 4e4b179
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: 3511494 ("vxlan: Group Policy extension")
Fixes: e1e5314 ("vxlan: implement GPE")
Fixes: 0ace2ca ("vxlan: Use checksum partial with remote checksum offload")
Fixes: f9c4bb0 ("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>1 parent f1d95df commit 4e4b179
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4331 | 4331 | | |
4332 | 4332 | | |
4333 | 4333 | | |
| 4334 | + | |
| 4335 | + | |
| 4336 | + | |
| 4337 | + | |
4334 | 4338 | | |
4335 | 4339 | | |
4336 | 4340 | | |
| |||
0 commit comments