Skip to content
Commit f9fdf127 authored by Li Zefan's avatar Li Zefan Committed by Adrian Bunk
Browse files

CONNECTOR: don't touch queue dev after decrement of ref count



cn_queue_free_callback() will touch 'dev'(i.e. cbq->pdev),
so it should be called before atomic_dec(&dev->refcnt).

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent 2f248cf3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment