Re: [PATCH net-next 0/8] l2tp: rework pppol2tp ioctl handling

2018-08-11 Thread David Miller
From: Guillaume Nault Date: Fri, 10 Aug 2018 13:21:54 +0200 > The current ioctl() handling code can be simplified. It tests for > non-relevant conditions and uselessly holds sockets. Once useless > code is removed, it becomes even simpler to let pppol2tp_ioctl() handle > commands directly, rather

[PATCH net-next 0/8] l2tp: rework pppol2tp ioctl handling

2018-08-10 Thread Guillaume Nault
The current ioctl() handling code can be simplified. It tests for non-relevant conditions and uselessly holds sockets. Once useless code is removed, it becomes even simpler to let pppol2tp_ioctl() handle commands directly, rather than dispatch them to pppol2tp_tunnel_ioctl() or pppol2tp_session_ioc