Skip to content

RFC/RFT: CAN FD support for can-gw

Oliver Hartkopp linux-can netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3can: gw: ensure DLC boundaries after CAN frame modificationnet/can/gw.c+27 -30 replies
2/3can: gw: use struct canfd_frame as internal data structureinclude/uapi/linux/can/gw.h net/can/gw.c+115 -1070 replies
3/3can: gw: add support for CAN FD framesinclude/uapi/linux/can/gw.h net/can/gw.c+220 -270 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchMuyu YuOliver Hartkopp
1/3T-b T-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] RFC/RFT: CAN FD support for can-gw

As a follow-up to the discussion about CVE-2019-3701 I walked through the can-gw code to add the support for handling CAN FD frames.

Patch 1/3 is still the CVE fix and can be omitted when a recent Linux tree is used that is already patched.

Patch 2/3 and 3/3 introduce the CAN FD support.

The updated user space tool 'cangw' can be found in the 'cangwfd' branch of my can-utils fork at https://github.com/hartkopp/can-utils .

Feedback and testing is welcome!

Oliver Hartkopp (3):
can: gw: ensure DLC boundaries after CAN frame modification
can: gw: use struct canfd_frame as internal data structure
can: gw: add support for CAN FD frames

 include/uapi/linux/can/gw.h |  17 +-
 net/can/gw.c                | 424 +++++++++++++++++++++++++++---------
 2 files changed, 333 insertions(+), 108 deletions(-)
Signature · 1 line
2.20.1