commit | 5f9f0b11f0816b35867f2cf71e54d95f53f03902 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Thu Nov 21 11:37:10 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 21 11:48:17 2019 -0800 |
tree | be2351a27135d97fbc97c2ad6bbce0b5de08c8ca | |
parent | 48a322b6f9965b2f1e4ce81af972f0e287b07ed0 [diff] |
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: syzbot+711468aa5c3a1eabf863@syzkaller.appspotmail.com Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>