Thread (2 messages) 2 messages, 2 authors, 2021-12-28

Re: [PATCH bpf-next] net: don't include filter.h from net/sock.h

flat view

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2021-12-28 20:19:34
Also in: netdev

On 28.12.2021 11:25:19, 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.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
[...]
 drivers/net/can/usb/peak_usb/pcan_usb.c           | 1 +
For the CAN driver:

Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help