All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v2 0/3] can: j1939: fix some standard conformance problems
@ 2021-10-28 14:38 Zhang Changzhong
  2021-10-28 14:38 ` [PATCH net v2 1/3] can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport Zhang Changzhong
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Zhang Changzhong @ 2021-10-28 14:38 UTC (permalink / raw)
  To: Robin van der Gracht, Oleksij Rempel, kernel, Oliver Hartkopp,
	Marc Kleine-Budde, David S. Miller, Jakub Kicinski
  Cc: Zhang Changzhong, linux-can, netdev, linux-kernel

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(+)

-- 
2.9.5


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-11-06 16:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 14:38 [PATCH net v2 0/3] can: j1939: fix some standard conformance problems Zhang Changzhong
2021-10-28 14:38 ` [PATCH net v2 1/3] can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport Zhang Changzhong
2021-11-03 13:23   ` Oleksij Rempel
2021-10-28 14:38 ` [PATCH net v2 2/3] can: j1939: j1939_can_recv(): ignore messages with invalid source address Zhang Changzhong
2021-11-03 13:24   ` Oleksij Rempel
2021-10-28 14:38 ` [PATCH net v2 3/3] can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAM Zhang Changzhong
2021-11-03 13:26   ` Oleksij Rempel
2021-11-06 16:26 ` [PATCH net v2 0/3] can: j1939: fix some standard conformance problems Marc Kleine-Budde

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.