diff options
| author | Jakub Sitnicki <[email protected]> | 2022-02-09 18:43:33 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-02-09 19:40:45 +0000 |
| commit | 2ed0dc5937d38f282841d22c5a5354ec264c7b8d (patch) | |
| tree | 427e6ef1e3229dae55160bdb5c69896f5ddfa7f5 /net/switchdev/switchdev.c | |
| parent | bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wide (diff) | |
| download | kernel-2ed0dc5937d38f282841d22c5a5354ec264c7b8d.tar.gz kernel-2ed0dc5937d38f282841d22c5a5354ec264c7b8d.zip | |
selftests/bpf: Cover 4-byte load from remote_port in bpf_sk_lookup
Extend the context access tests for sk_lookup prog to cover the surprising
case of a 4-byte load from the remote_port field, where the expected value
is actually shifted by 16 bits.
Signed-off-by: Jakub Sitnicki <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
