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

Commit c0aed240 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ppp: defer netns reference release for ppp channel"

parents 16fd5426 0cd6fe3d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2342,8 +2342,6 @@ ppp_unregister_channel(struct ppp_channel *chan)
	spin_lock_bh(&pn->all_channels_lock);
	list_del(&pch->list);
	spin_unlock_bh(&pn->all_channels_lock);
	put_net(pch->chan_net);
	pch->chan_net = NULL;

	pch->file.dead = 1;
	wake_up_interruptible(&pch->file.rwait);