Skip to content

tty/serial: at91: fixes dealing with port shutdown

Nicolas Ferre linux-arm-kernel linux-serial lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tty/serial: at91: Handle shutdown more safelydrivers/tty/serial/atmel_serial.c+13 -70 replies
2/4tty/serial: at91: fix race condition in atmel_serial_removedrivers/tty/serial/atmel_serial.c+2 -10 replies
3/4tty/serial: at91: prevent null dereference in tasklet functiondrivers/tty/serial/atmel_serial.c+4 -02 replies
4/4tty/serial: at91: reset rx_ring when port is shutdowndrivers/tty/serial/atmel_serial.c+6 -00 replies

Reviews trailers per patch

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

PatchLeilei Zhao
1/4A-b
2/4A-b
3/4A-b
4/4A-b

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

Read the v1 thread

Cover letter [PATCH 0/4] tty/serial: at91: fixes dealing with port shutdown

Hi,

These four fixes are pretty important for our atmel_serial driver as they deal with closing/re-opening of ports. They fix race condition and null pointers dereference.
I added the "stable" tag to each of them (v3.12).

Even if we are late in the development cycle, can you please consider including these patches for 3.13?

Thanks, best regards,
Nicolas Ferre

Marek Roszko (3):
tty/serial: at91: Handle shutdown more safely tty/serial: at91: fix race condition in atmel_serial_remove tty/serial: at91: prevent null dereference in tasklet function

Mark Deneen (1):
tty/serial: at91: reset rx_ring when port is shutdown

 drivers/tty/serial/atmel_serial.c | 27 ++++++++++++++++++++++-----
 1 file changed, 22 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.2.2