[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMtaSwQ4Czd6_Hwx3urTvYrY5=J1Z3czEzvZocw2YauoHd2sdw@mail.gmail.com>
Date: Wed, 20 Sep 2017 12:17:31 -0400
From: Xiang Gao <qasdfgtyuiop@...il.com>
To: David Miller <davem@...emloft.net>
Cc: trivial@...nel.org, netdev@...r.kernel.org,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>
Subject: Re: [PATCH] ipv6_skip_exthdr: use ipv6_authlen for AH hdrlen
Hi David,
Thanks for your time and all your suggestions. I will resend a new patch soon.
Xiang Gao
Xiang Gao
2017-09-19 18:32 GMT-04:00 David Miller <davem@...emloft.net>:
> From: Xiang Gao <qasdfgtyuiop@...il.com>
> Date: Tue, 19 Sep 2017 08:59:50 -0400
>
>> In ipv6_skip_exthdr, the lengh of AH header is computed manually
>> as (hp->hdrlen+2)<<2. However, in include/linux/ipv6.h, a macro
>> named ipv6_authlen is already defined for exactly the same job. This
>> commit replaces the manual computation code with the macro.
>
> All patch submissions must have a proper signoff.
>
> Also, please use a proper subsystem prefix in your Subject
> line "[PATCH] ipv6: Use ipv6_authlen for AH hdrlen in ipv6_skip_exthdr()"
> would have been much better as "ipv6: " is the appropriate
> subsystem prefix to use here.
>
> Thanks.
Powered by blists - more mailing lists