Re: [PATCH v3 net-next 0/4] l2tp: set l2specific_len based on l2specific_type

2018-01-19 Thread David Miller
From: Lorenzo Bianconi Date: Tue, 16 Jan 2018 23:01:53 +0100 > Do not rely on l2specific_len value provided by userspace but set sublayer > length according to l2specific_type. > Mark L2TP_ATTR_L2SPEC_LEN attribute as not used > > Changes since v2: > - drop the

Re: [PATCH v3 net-next 0/4] l2tp: set l2specific_len based on l2specific_type

2018-01-17 Thread James Chapman
On 17 January 2018 at 10:23, Guillaume Nault wrote: > On Tue, Jan 16, 2018 at 11:01:53PM +0100, Lorenzo Bianconi wrote: >> Do not rely on l2specific_len value provided by userspace but set sublayer >> length according to l2specific_type. >> Mark L2TP_ATTR_L2SPEC_LEN

Re: [PATCH v3 net-next 0/4] l2tp: set l2specific_len based on l2specific_type

2018-01-17 Thread Guillaume Nault
On Tue, Jan 16, 2018 at 11:01:53PM +0100, Lorenzo Bianconi wrote: > Do not rely on l2specific_len value provided by userspace but set sublayer > length according to l2specific_type. > Mark L2TP_ATTR_L2SPEC_LEN attribute as not used > Nice. Thanks for doing this work Lorenzo.

[PATCH v3 net-next 0/4] l2tp: set l2specific_len based on l2specific_type

2018-01-16 Thread Lorenzo Bianconi
Do not rely on l2specific_len value provided by userspace but set sublayer length according to l2specific_type. Mark L2TP_ATTR_L2SPEC_LEN attribute as not used Changes since v2: - drop the patch related to a fix in the switch default case in l2tp_nl_cmd_session_create() - use L2SPECTYPE_NONE as