[Intel-wired-lan] [PATCH bpf-next v2] net: don't include filter.h from net/sock.h
Stefano Garzarella
sgarzare at redhat.com
Wed Dec 29 14:05:57 UTC 2021
On Tue, Dec 28, 2021 at 04:49:13PM -0800, Jakub Kicinski wrote:
>sock.h is pretty heavily used (5k objects rebuilt on x86 after
>it's touched). We can drop the include of filter.h from it and
>add a forward declaration of struct sk_filter instead.
>This decreases the number of rebuilt objects when bpf.h
>is touched from ~5k to ~1k.
>
>There's a lot of missing includes this was masking. Primarily
>in networking tho, this time.
>
>Acked-by: Marc Kleine-Budde <mkl at pengutronix.de>
>Signed-off-by: Jakub Kicinski <kuba at kernel.org>
>---
>v2: https://lore.kernel.org/all/20211228192519.386913-1-kuba@kernel.org/
> - fix build in bond on ia64
> - fix build in ip6_fib with randconfig
For AF_VSOCK:
Acked-by: Stefano Garzarella <sgarzare at redhat.com>
More information about the Intel-wired-lan
mailing list