diff options
author | Petr Machata <petrm@nvidia.com> | 2024-12-05 16:40:52 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-09 14:47:03 -0800 |
commit | fe3dcbcfae522fae9c62954488398562ff6b5ece (patch) | |
tree | 7c00751bcba78a87ded4bc5c263d409a78c62616 /rust/helpers/helpers.c | |
parent | 0f09ae907818d593e55c4b058d286a0914a43c3f (diff) |
vxlan: vxlan_rcv() callees: Drop the unparsed argument
The functions vxlan_remcsum() and vxlan_parse_gbp_hdr() take both the SKB
and the unparsed VXLAN header. Now that unparsed adjustment is handled
directly by vxlan_rcv(), drop this argument, and have the function derive
it from the SKB on its own.
vxlan_parse_gpe_proto() does not take SKB, so keep the header parameter.
However const it so that it's clear that the intention is that it does not
get changed.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/5ea651f4e06485ba1a84a8eb556a457c39f0dfd4.1733412063.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions