diff options
| author | Zhang Changzhong <[email protected]> | 2021-09-30 11:33:20 +0800 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2021-10-17 14:12:56 +0200 |
| commit | 379743985ab6cfe2cbd32067cf4ed497baca6d06 (patch) | |
| tree | 8f3b21835ccac1695d55f07272dacec6d27f27e8 /drivers/platform/surface/aggregator/controller.c | |
| parent | d9d52a3ebd284882f5562c88e55991add5d01586 (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