mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
c971fa2ae4
CAN interfaces only support MTU values of 16 (CAN 2.0) and 72 (CAN FD). Setting the MTU to other values is pointless but it does not really hurt. With the introduction of the CAN FD support in drivers/net/can a new function to switch the MTU for CAN FD has been introduced. This patch makes use of this can_change_mtu() function to check for correct MTU settings also in legacy CAN (2.0) devices. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> |
||
---|---|---|
.. | ||
ems_pci.c | ||
ems_pcmcia.c | ||
Kconfig | ||
kvaser_pci.c | ||
Makefile | ||
peak_pci.c | ||
peak_pcmcia.c | ||
plx_pci.c | ||
sja1000.c | ||
sja1000.h | ||
sja1000_isa.c | ||
sja1000_platform.c | ||
tscan1.c |