Re: [PATCH net] ppp: prevent unregistered channels from connecting to PPP units

2018-03-04 Thread David Miller
From: Guillaume Nault Date: Fri, 2 Mar 2018 18:41:16 +0100 > PPP units don't hold any reference on the channels connected to it. > It is the channel's responsibility to ensure that it disconnects from > its unit before being destroyed. > In practice, this is ensured by

[PATCH net] ppp: prevent unregistered channels from connecting to PPP units

2018-03-02 Thread Guillaume Nault
PPP units don't hold any reference on the channels connected to it. It is the channel's responsibility to ensure that it disconnects from its unit before being destroyed. In practice, this is ensured by ppp_unregister_channel() disconnecting the channel from the unit before dropping a reference on