commit | f596c87005f7b1baeb7d62d9a9e25d68c3dfae10 | [log] [tgz] |
---|---|---|
author | yangerkun <yangerkun@huawei.com> | Wed Feb 26 11:54:35 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 26 20:37:06 2020 -0800 |
tree | 7fbf1945f6e80678ad03f8f2c59b06b92224e699 | |
parent | b6f6118901d1e867ac9177bbff3b00b185bd4fdc [diff] |
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: yangerkun <yangerkun@huawei.com> Reviewed-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: David S. Miller <davem@davemloft.net>