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)
commit743df8b7749fb5a289fc0c7ac94ec15533596839
tree6f54cb52306d8969386ebd145cbbe7845aef478d
parent20a6d91518c4163cb25f4387036383c145661b1b
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