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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux