Skip to content
Commit cf585ae8 authored by Li Zefan's avatar Li Zefan Committed by David S. Miller
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 avatarDavid S. Miller <davem@davemloft.net>
parent 9d3e4442
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