mbox series

[net,v2,0/3] can: j1939: fix some standard conformance problems

Message ID 1635431907-15617-1-git-send-email-zhangchangzhong@huawei.com (mailing list archive)
Headers show
Series can: j1939: fix some standard conformance problems | expand

Message

Zhang Changzhong Oct. 28, 2021, 2:38 p.m. UTC
This patchset fixes 3 standard conformance problems in the j1939 stack.

v2:
- Add netdev_err_once() to indicate bad messages on the bus.
- Fix the if statement in the third patch to avoid breaking ETP
  functionality.

Zhang Changzhong (3):
  can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM
    transport
  can: j1939: j1939_can_recv(): ignore messages with invalid source
    address
  can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAM

 net/can/j1939/main.c      |  6 ++++++
 net/can/j1939/transport.c | 11 +++++++++++
 2 files changed, 17 insertions(+)

Comments

Marc Kleine-Budde Nov. 6, 2021, 4:26 p.m. UTC | #1
On 28.10.2021 22:38:24, Zhang Changzhong wrote:
> This patchset fixes 3 standard conformance problems in the j1939 stack.

Applied to linux-can/testing added stable on Cc.

thanks,
Marc