summaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2020-03-21 14:08:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-02 17:20:30 +0200
commita1c9b23142ac8d6577613f6e41297ae24e7d313c (patch)
tree3cd41c3243c47b164115423dcff2f81baaa9e305 /drivers/net/vxlan.c
parent93b84b9cc4324a9c863ce9f7ee411ff933161a6b (diff)
downloadlinux-stable-a1c9b23142ac8d6577613f6e41297ae24e7d313c.tar.gz
linux-stable-a1c9b23142ac8d6577613f6e41297ae24e7d313c.tar.bz2
linux-stable-a1c9b23142ac8d6577613f6e41297ae24e7d313c.zip
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 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions