Re: [PATCH net-next] l2tp: consistent reference counting in procfs and debufs

2018-04-27 Thread Guillaume Nault
On Fri, Apr 27, 2018 at 11:06:55AM -0400, David Miller wrote: > From: Guillaume Nault > Date: Wed, 25 Apr 2018 19:54:14 +0200 > > > The 'pppol2tp' procfs and 'l2tp/tunnels' debugfs files handle reference > > counting of sessions differently than for tunnels. > > > > For consistency, use the same

Re: [PATCH net-next] l2tp: consistent reference counting in procfs and debufs

2018-04-27 Thread David Miller
From: Guillaume Nault Date: Wed, 25 Apr 2018 19:54:14 +0200 > The 'pppol2tp' procfs and 'l2tp/tunnels' debugfs files handle reference > counting of sessions differently than for tunnels. > > For consistency, use the same mechanism for handling both sessions and > tunnels. That is, drop the refer

[PATCH net-next] l2tp: consistent reference counting in procfs and debufs

2018-04-25 Thread Guillaume Nault
The 'pppol2tp' procfs and 'l2tp/tunnels' debugfs files handle reference counting of sessions differently than for tunnels. For consistency, use the same mechanism for handling both sessions and tunnels. That is, drop the reference on the previous session just before looking up the next one (rather