Skip to content
Commit 5f9f0b11 authored by Oliver Neukum's avatar Oliver Neukum Committed by David S. Miller
Browse files

nfc: port100: handle command failure cleanly



If starting the transfer of a command suceeds but the transfer for the reply
fails, it is not enough to initiate killing the transfer for the
command may still be running. You need to wait for the killing to finish
before you can reuse URB and buffer.

Reported-and-tested-by: default avatar <syzbot+711468aa5c3a1eabf863@syzkaller.appspotmail.com>
Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 48a322b6
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