Unverified Commit 4e07a69a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!9672 ax25: Fix reference count leak issue of net_device

parents a79f71ad 92c9b05c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -138,6 +138,7 @@ void ax25_dev_device_down(struct net_device *dev)
	}
	spin_unlock_bh(&ax25_dev_lock);
	dev->ax25_ptr = NULL;
	dev_put(dev);
	ax25_dev_put(ax25_dev);
}