Skip to content
Commit 11eb2645 authored by Zefan Li's avatar Zefan Li Committed by David S. Miller
Browse files

dlci: acquire rtnl_lock before calling __dev_get_by_name()



Otherwise the net device returned can be freed at anytime.

Signed-off-by: default avatarLi Zefan <lizefan@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a5cc68f3
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