]> 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)
commit689f66799e0708609659af7eebaf6f156ae61d81
tree6f54cb52306d8969386ebd145cbbe7845aef478d
parentd571bf2c120eb519704cbd5920e7f85e11245fc2
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