diff options
| author | Zhang Changzhong <[email protected]> | 2021-10-28 22:38:26 +0800 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2021-11-06 17:29:24 +0100 |
| commit | a79305e156db3d24fcd8eb649cdb3c3b2350e5c2 (patch) | |
| tree | dfa72eff682fe57d5bf1892986b557b64361903e /scripts/gdb/linux/mm.py | |
| parent | c0f49d98006f2db3333b917caac65bce2af9865c (diff) | |
can: j1939: j1939_can_recv(): ignore messages with invalid source address
According to SAE-J1939-82 2015 (A.3.6 Row 2), a receiver should never
send TP.CM_CTS to the global address, so we can add a check in
j1939_can_recv() to drop messages with invalid source address.
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 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions