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

From: Ziyang Xuan
Date: Sat Oct 09 2021 - 03:41:22 EST


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