aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorZhang Changzhong <[email protected]>2021-09-30 11:33:20 +0800
committerMarc Kleine-Budde <[email protected]>2021-10-17 14:12:56 +0200
commit379743985ab6cfe2cbd32067cf4ed497baca6d06 (patch)
tree8f3b21835ccac1695d55f07272dacec6d27f27e8 /drivers/platform/surface/aggregator/controller.c
parentd9d52a3ebd284882f5562c88e55991add5d01586 (diff)
can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length
According to SAE-J1939-21, the data length of TP.DT must be 8 bytes, so cancel session when receive unexpected TP.DT message. Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Link: https://lore.kernel.org/all/[email protected] Cc: [email protected] Signed-off-by: Zhang Changzhong <[email protected]> Acked-by: Oleksij Rempel <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions