]> git.dujemihanovic.xyz Git - linux.git/commit
net: wan: fsl_qmc_hdlc: Discard received CRC
authorHerve Codina <herve.codina@bootlin.com>
Tue, 30 Jul 2024 06:31:33 +0000 (08:31 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 1 Aug 2024 01:09:08 +0000 (18:09 -0700)
commite549360069b4a57e111b8222fc072f3c7c1688ab
treed010976d949181d16547e0d330329dfc2b3c8649
parentc4d6a347ba7babdf9d90a0eb24048c266cae0532
net: wan: fsl_qmc_hdlc: Discard received CRC

Received frame from QMC contains the CRC.
Upper layers don't need this CRC and tcpdump mentioned trailing junk
data due to this CRC presence.

As some other HDLC driver, simply discard this CRC.

Fixes: d0f2258e79fd ("net: wan: Add support for QMC HDLC")
Cc: stable@vger.kernel.org
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240730063133.179598-1-herve.codina@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wan/fsl_qmc_hdlc.c