Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fea1f8d9 authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

net: qualcomm: rmnet: Remove invalid device free



An incorrect additional free of the netdevice outside of the
dellink framework caused the following call stack to be printed.
Fix by removing this call.

[  362.230708] kernel BUG at kernel/msm-4.14/net/core/dev.c:8198!
[  362.248270] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[  362.288484] CPU: 4 PID: 755 Comm: POSIX timer 0 Tainted: G S
W  O    4.14.43+ #1
[  362.303838] task: ffffffc746b23380 task.stack: ffffff801cff0000
[  362.309923] pc : free_netdev+0x108/0x110
[  362.313951] lr : free_netdev+0x74/0x110

CRs-Fixed: 2254860
Change-Id: I70125608a699e2ef89c646c55c0aeeca1f5cc1fe
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent 6babb47b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -114,8 +114,6 @@ static void rmnet_vnd_uninit(struct net_device *dev)

	qmi_rmnet_qos_exit(dev);
	priv->qos_info = NULL;

	free_netdev(dev);
}

static void rmnet_get_stats64(struct net_device *dev,