[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJ0CqmXXQLSzp44VicKzg-Jek-xbiwYbg9s5gKu+0A8FjyiOGQ@mail.gmail.com>
Date: Tue, 16 Jan 2018 12:45:06 +0100
From: Lorenzo Bianconi <lorenzo.bianconi@...hat.com>
To: Guillaume Nault <g.nault@...halink.fr>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
James Chapman <jchapman@...alix.com>
Subject: Re: [PATCH v2 net-next 0/5] l2tp: set l2specific_len based on l2specific_type
> On Sun, Jan 14, 2018 at 03:50:53PM +0100, Lorenzo Bianconi wrote:
>> Do not rely on l2specific_len value provided by userspace but set sublayer
>> length according to l2specific_type.
>> Fix a harmless issue in the switch default case in
>> l2tp_nl_cmd_session_create().
>>
>> Changes since v1:
>> - remove l2specific_len parameter
>> - add sanity check on l2specific_type provided by userspace
>>
> Thanks for working on this Lorenzo.
>
> Whatever the discussions on patches 1 and 3 lead to:
>
> Reviewed-by: Guillaume Nault <g.nault@...halink.fr>
> Tested-by: Guillaume Nault <g.nault@...halink.fr>
I will send a v3 later today dropping the first patch (I will send a
single one removing the switch later) and including your suggestion
for default case in l2tp_get_l2specific_len().
Thanks for reviewing the patch :)
Regards,
Lorenzo
Powered by blists - more mailing lists