diff options
author | Zvi Effron <zeffron@riotgames.com> | 2021-07-07 22:16:54 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-07-07 19:51:12 -0700 |
commit | 7445cf31d2e25e3f8ad7b1c5342e624c09ab23a2 (patch) | |
tree | a7babfa3dec035e81533d4e66266bfc75f3013ea /net/8021q | |
parent | 5e437416ff66981d8154687cfdf7de50b1d82bfc (diff) | |
download | linux-stable-7445cf31d2e25e3f8ad7b1c5342e624c09ab23a2.tar.gz linux-stable-7445cf31d2e25e3f8ad7b1c5342e624c09ab23a2.tar.bz2 linux-stable-7445cf31d2e25e3f8ad7b1c5342e624c09ab23a2.zip |
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/8021q')
0 files changed, 0 insertions, 0 deletions