Skip to content

fix tx buffer concurrent access protection

Ziyang Xuan linux-can lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Change state of struct tpcon to u32 for cmpxchg just support 4-byte and 8-byte in some architectures.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2can: isotp: add result check for wait_event_interruptible()net/can/isotp.c+3 -11 reply
2/2can: isotp: fix tx buffer concurrent access in isotp_sendmsg()net/can/isotp.c+31 -151 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchOliver Hartkopp
1/2A-b
2/2A-b

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

Read the v2 thread

Cover letter [PATCH net v2 0/2] fix tx buffer concurrent access protection

Fix tx buffer concurrent access protection in isotp_sendmsg().

v2:
- Change state of struct tpcon to u32 for cmpxchg just support 4-byte and 8-byte in some architectures.

Ziyang Xuan (2):
can: isotp: add result check for wait_event_interruptible()
can: isotp: fix tx buffer concurrent access in isotp_sendmsg()

 net/can/isotp.c | 48 +++++++++++++++++++++++++++++++++---------------
 1 file changed, 33 insertions(+), 15 deletions(-)
Signature · 1 line
2.25.1