]> git.baikalelectronics.ru Git - kernel.git/commit
mctp: serial: cancel tx work on ldisc close
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 25 Nov 2021 06:07:37 +0000 (14:07 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 26 Nov 2021 03:40:39 +0000 (19:40 -0800)
commit9be5b9351b57ceefa91b45730e7afb2644efa446
treef5201716f23dde9151c6c96476955fd3231f9323
parentc245125745e52f4431e7f2424300c9ca04429ca9
mctp: serial: cancel tx work on ldisc close

We want to ensure that the tx work has finished before returning from
the ldisc close op, so do a synchronous cancel.

Reported-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/mctp/mctp-serial.c