kernel-fxtec-pro1x/drivers/net/can
Oliver Hartkopp 297e87cfbc 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>
2020-04-02 15:28:12 +02:00
..
c_can
cc770
ifi_canfd
m_can
mscan
peak_canfd
rcar
sja1000
softing
spi
usb
at91_can.c
dev.c can: add missing attribute validation for termination 2020-03-18 07:14:15 +01:00
flexcan.c
grcan.c
janz-ican3.c
Kconfig
led.c
Makefile
pch_can.c
rx-offload.c
slcan.c slcan: not call free_netdev before rtnl_unlock in slcan_open 2020-04-02 15:28:12 +02:00
sun4i_can.c
ti_hecc.c
vcan.c
vxcan.c
xilinx_can.c