Skip to content
Commit f596c870 authored by yangerkun's avatar yangerkun Committed by David S. Miller
Browse files

slip: not call free_netdev before rtnl_unlock in slip_open



As the description before netdev_run_todo, we cannot call free_netdev
before rtnl_unlock, fix it by reorder the code.

Signed-off-by: default avataryangerkun <yangerkun@huawei.com>
Reviewed-by: default avatarOliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b6f61189
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