All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] fix tx buffer concurrent access protection
@ 2021-10-09  7:40 Ziyang Xuan
  2021-10-09  7:40 ` [PATCH net v2 1/2] can: isotp: add result check for wait_event_interruptible() Ziyang Xuan
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ziyang Xuan @ 2021-10-09  7:40 UTC (permalink / raw)
  To: socketcan, mkl; +Cc: davem, kuba, linux-can, netdev, linux-kernel

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

-- 
2.25.1


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

end of thread, other threads:[~2021-10-17 12:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-09  7:40 [PATCH net v2 0/2] fix tx buffer concurrent access protection Ziyang Xuan
2021-10-09  7:40 ` [PATCH net v2 1/2] can: isotp: add result check for wait_event_interruptible() Ziyang Xuan
2021-10-11 19:10   ` Oliver Hartkopp
2021-10-09  7:40 ` [PATCH net v2 2/2] can: isotp: fix tx buffer concurrent access in isotp_sendmsg() Ziyang Xuan
2021-10-11 19:11   ` Oliver Hartkopp
2021-10-17 12:22 ` [PATCH net v2 0/2] fix tx buffer concurrent access protection 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.