Re: [PATCH net] l2tp: define SOL_PPPOL2TP in uapi

2017-04-07 Thread Guillaume Nault
On Thu, Apr 06, 2017 at 01:25:34PM -0700, David Miller wrote: > From: Guillaume Nault > Date: Wed, 5 Apr 2017 16:52:35 +0200 > > > Userspace needs SOL_PPPOL2TP to be defined for using PPPOL2TP_SO_* > > socket options. > > > > Signed-off-by: Guillaume Nault > > We really can't do this, there is

Re: [PATCH net] l2tp: define SOL_PPPOL2TP in uapi

2017-04-06 Thread David Miller
From: Guillaume Nault Date: Wed, 5 Apr 2017 16:52:35 +0200 > Userspace needs SOL_PPPOL2TP to be defined for using PPPOL2TP_SO_* > socket options. > > Signed-off-by: Guillaume Nault We really can't do this, there is no precedence for defining the SOL_* values in the kernel headers, it needs to

[PATCH net] l2tp: define SOL_PPPOL2TP in uapi

2017-04-05 Thread Guillaume Nault
Userspace needs SOL_PPPOL2TP to be defined for using PPPOL2TP_SO_* socket options. Signed-off-by: Guillaume Nault --- include/uapi/linux/if_pppol2tp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/if_pppol2tp.h b/include/uapi/linux/if_pppol2tp.h index 6418c4d10241..90c