diff options
author | Zvi Effron <zeffron@riotgames.com> | 2021-07-08 01:16:54 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-07-08 05:51:12 +0300 |
commit | 7445cf31d2e25e3f8ad7b1c5342e624c09ab23a2 (patch) | |
tree | a7babfa3dec035e81533d4e66266bfc75f3013ea /net/bpf/test_run.c | |
parent | 5e437416ff66981d8154687cfdf7de50b1d82bfc (diff) | |
download | linux-7445cf31d2e25e3f8ad7b1c5342e624c09ab23a2.tar.xz |
bpf: Add function for XDP meta data length check
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: Cody Haas <chaas@riotgames.com>
Co-developed-by: Lisa Watanabe <lwatanabe@riotgames.com>
Signed-off-by: Cody Haas <chaas@riotgames.com>
Signed-off-by: Lisa Watanabe <lwatanabe@riotgames.com>
Signed-off-by: Zvi Effron <zeffron@riotgames.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210707221657.3985075-2-zeffron@riotgames.com
Diffstat (limited to 'net/bpf/test_run.c')
0 files changed, 0 insertions, 0 deletions