]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, sockmap: Check skb_verdict and skb_parser programs explicitly
authorJohn Fastabend <john.fastabend@gmail.com>
Sun, 11 Oct 2020 05:09:07 +0000 (22:09 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 12 Oct 2020 01:09:44 +0000 (18:09 -0700)
commit46bc7fe44ffef50cb0d7d38008b2044b7fdf18d8
tree6f54cb52306d8969386ebd145cbbe7845aef478d
parent5dd397abcf3c867bc82c9f9398a534d7f2254fac
bpf, sockmap: Check skb_verdict and skb_parser programs explicitly

We are about to allow skb_verdict to run without skb_parser programs
as a first step change code to check each program type specifically.
This should be a mechanical change without any impact to actual result.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/160239294756.8495.5796595770890272219.stgit@john-Precision-5820-Tower
net/core/sock_map.c