Re: [PATCH net] selftests/bpf: fix netdevsim trap_flow_action_cookie read

2020-07-30 Thread David Miller
From: Hangbin Liu Date: Mon, 27 Jul 2020 19:04:55 +0800 > When read netdevsim trap_flow_action_cookie, we need to init it first, > or we will get "Invalid argument" error. > > Fixes: d3cbb907ae57 ("netdevsim: add ACL trap reporting cookie as a metadata") > Signed-off-by: Hangbin Liu Applied.

[PATCH net] selftests/bpf: fix netdevsim trap_flow_action_cookie read

2020-07-27 Thread Hangbin Liu
When read netdevsim trap_flow_action_cookie, we need to init it first, or we will get "Invalid argument" error. Fixes: d3cbb907ae57 ("netdevsim: add ACL trap reporting cookie as a metadata") Signed-off-by: Hangbin Liu --- tools/testing/selftests/bpf/test_offload.py | 3 +++ 1 file changed, 3 ins