-
由 Zvi Effron 提交于
This commit prepares to use the XDP meta data length check in multiple places by making it into a static inline function instead of a literal. Co-developed-by: NCody Haas <chaas@riotgames.com> Co-developed-by: NLisa Watanabe <lwatanabe@riotgames.com> Signed-off-by: NCody Haas <chaas@riotgames.com> Signed-off-by: NLisa Watanabe <lwatanabe@riotgames.com> Signed-off-by: NZvi Effron <zeffron@riotgames.com> Signed-off-by: NAlexei Starovoitov <ast@kernel.org> Acked-by: NYonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20210707221657.3985075-2-zeffron@riotgames.com
7445cf31