[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170920.134538.445868998868419835.davem@davemloft.net>
Date: Wed, 20 Sep 2017 13:45:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: qasdfgtyuiop@...il.com
Cc: trivial@...nel.org, netdev@...r.kernel.org, kuznet@....inr.ac.ru,
yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH] ipv6: Use ipv6_authlen for len in ipv6_skip_exthdr
From: Xiang Gao <qasdfgtyuiop@...il.com>
Date: Wed, 20 Sep 2017 12:18:17 -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.
>
> Signed-off-by: Xiang Gao <qasdfgtyuiop@...il.com>
Applied, thank you.
Powered by blists - more mailing lists