Skip to content
Commit d45eb81c authored by Denis Joseph Barrow's avatar Denis Joseph Barrow Committed by Linus Torvalds
Browse files

tty: Fix double grabbing of a spinlock



The HSO changes for kref introduced a recursive spinlock take. All
functions which call put_rxbuf_data already have serial->serial_lock
grabbed.

[Comment to code added-AC]

Signed-off-by: default avatarDenis Joseph Barrow <D.Barrow@option.com>
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fe41cbb1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment