[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190711.144341.734081163012422910.davem@davemloft.net>
Date: Thu, 11 Jul 2019 14:43:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xingwu.yang@...il.com
Cc: kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
pablo@...filter.org, kadlec@...ckhole.kfki.hu, fw@...len.de,
netfilter-devel@...r.kernel.org, coreteam@...filter.org
Subject: Re: [PATCH] ipv6: Use ipv6_authlen for len
From: yangxingwu <xingwu.yang@...il.com>
Date: Wed, 10 Jul 2019 21:14:10 +0800
> The length 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: yangxingwu <xingwu.yang@...il.com>
Applied.
Powered by blists - more mailing lists