Files
lkl_linux/include/linux
Jakub Kicinski aebb51ec3d bpf: Invert the dependency between bpf-netns.h and netns/bpf.h
netns/bpf.h gets included by netdevice.h (thru net_namespace.h)
which in turn gets included in a lot of places. We should keep
netns/bpf.h as light-weight as possible.

bpf-netns.h seems to contain more implementation details than
deserves to be included in a netns header. It needs to pull in
uapi/bpf.h to get various enum types.

Move enum netns_bpf_attach_type to netns/bpf.h and invert the
dependency. This makes netns/bpf.h fit the mold of a struct
definition header more clearly, and drops the number of objects
rebuilt when uapi/bpf.h is touched from 7.7k to 1.1k.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211230012742.770642-3-kuba@kernel.org
2021-12-29 20:03:05 -08:00
..
2021-09-20 12:43:34 +01:00
2021-08-29 14:47:42 +03:00
2021-11-23 19:13:00 +01:00
2021-10-07 16:51:57 +02:00
2021-10-18 14:43:23 -06:00
2021-11-12 10:19:09 -08:00
2021-11-17 10:36:15 -05:00
2021-09-08 15:32:35 -07:00
2021-10-25 12:01:14 +05:30
2021-08-26 15:32:28 -04:00
2021-09-06 07:20:56 -04:00
2021-11-17 10:36:35 -05:00
2021-10-18 07:49:38 -04:00
2021-11-15 07:53:10 -08:00
2021-08-05 11:46:42 +01:00
2021-10-05 06:54:16 -05:00
2021-10-18 07:49:39 -04:00
2021-09-30 12:46:44 -06:00
2021-09-27 09:27:29 -04:00
2021-11-06 14:08:17 -07:00
2021-08-23 13:19:12 +02:00
2021-09-21 13:44:55 -07:00
2021-11-10 21:16:56 +00:00
2021-11-16 19:07:53 -08:00
2021-09-17 13:52:17 +01:00
2021-10-18 07:49:39 -04:00
2021-09-27 09:27:29 -04:00
2021-11-17 10:36:35 -05:00
2021-09-27 17:00:21 +02:00
2021-10-14 13:29:18 +02:00
2021-08-18 22:08:24 +02:00
2021-10-07 16:51:57 +02:00
2021-10-18 07:49:39 -04:00
2021-10-18 17:20:50 +02:00
2021-08-17 17:50:51 +02:00
2021-10-30 16:37:28 +02:00
2021-11-16 13:10:34 +00:00
2021-11-06 13:30:43 -07:00
2021-10-26 14:58:45 +01:00
2021-08-06 13:41:48 -07:00
2021-08-19 09:02:55 +09:00
2021-11-03 11:41:25 -07:00
2021-10-07 13:51:11 +02:00
2021-09-22 16:59:13 +02:00
2021-09-08 15:32:35 -07:00
2021-08-11 06:44:24 -04:00
2021-12-08 17:58:59 -08:00
2021-10-19 23:44:30 +08:00