diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2020-03-21 16:08:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-02 16:28:12 +0300 |
commit | 297e87cfbc43a977609dc329b9810456c503a932 (patch) | |
tree | ee705b8e8ddc0d62ef5bc6a5b051ce4f266c5752 /lib/digsig.c | |
parent | b9ac81058b6c2e9e88be027931c517d816762008 (diff) | |
download | linux-297e87cfbc43a977609dc329b9810456c503a932.tar.xz |
slcan: not call free_netdev before rtnl_unlock in slcan_open
[ Upstream commit 2091a3d42b4f339eaeed11228e0cbe9d4f92f558 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/digsig.c')
0 files changed, 0 insertions, 0 deletions