Re: [PATCH v3 3/4] can: skb:: move can_dropped_invalid_skb and can_skb_headroom_valid to skb.c

From: Max Staudt
Date: Tue May 17 2022 - 11:38:50 EST


On Tue, 17 May 2022 16:35:05 +0200
Oliver Hartkopp <socketcan@xxxxxxxxxxxx> wrote:

> I think it should be even more simple.
>
> When you enter the current Kconfig page of "CAN Device Drivers" every
> selection of vcan/vxcan/slcan should directly select CAN_DEV_SW.

I'm a bit lost - what would CAN_DEV_SW do?

If it enables can_dropped_invalid_skb(), then the HW drivers would also
need to depend on CAN_DEV_SW directly or indirectly, or am I missing
something?



Max