[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1633764159.git.william.xuanziyang@huawei.com>
Date: Sat, 9 Oct 2021 15:40:08 +0800
From: Ziyang Xuan <william.xuanziyang@...wei.com>
To: <socketcan@...tkopp.net>, <mkl@...gutronix.de>
CC: <davem@...emloft.net>, <kuba@...nel.org>,
<linux-can@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [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(-)
--
2.25.1
Powered by blists - more mailing lists