diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2020-03-21 14:08:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-21 19:57:15 -0700 |
commit | 2091a3d42b4f339eaeed11228e0cbe9d4f92f558 (patch) | |
tree | 34bd24f2f9fe2f7b558d4b21cf878bc6a907da87 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 06e9bfc1e57daeead541c9f02968412cd284b189 (diff) |
slcan: not call free_netdev before rtnl_unlock in slcan_open
As the description before netdev_run_todo, we cannot call free_netdev
before rtnl_unlock, fix it by reorder the code.
This patch is a 1:1 copy of upstream slip.c commit f596c87005f7
("slip: not call free_netdev before rtnl_unlock in slip_open").
Reported-by: yangerkun <yangerkun@huawei.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions