can: isotp: Add error message if txqueuelen is too small
authorPatrick Menschel <menschel.p@posteo.de>
Tue, 27 Apr 2021 05:21:49 +0000 (05:21 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 27 May 2021 07:42:21 +0000 (09:42 +0200)
commitc69d190f7bb9a03cf5237d45a457993730d01605
tree71912bcd9e92c8b33a23082396058d157609fb3b
parent6a5ddae578842652719fb926b22f1d510fe50bee
can: isotp: Add error message if txqueuelen is too small

This patch adds an additional error message in case that txqueuelen is
set too small and advices the user to increase txqueuelen.

This is likely to happen even with small transfers if txqueuelen is at
default value 10 frames.

Link: https://lore.kernel.org/r/20210427052150.2308-4-menschel.p@posteo.de
Signed-off-by: Patrick Menschel <menschel.p@posteo.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/isotp.c