[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170918.145333.387149087319576031.davem@davemloft.net>
Date: Mon, 18 Sep 2017 14:53:33 -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 1/1] ipv6_skip_exthdr: use ipv6_authlen for AH header
length computation
From: Xiang Gao <qasdfgtyuiop@...il.com>
Date: Fri, 15 Sep 2017 01:04:27 -0400
> From 09cf2e3cf09cf591283785aaa8159baf39ac2e08 Mon Sep 17 00:00:00 2001
> From: Xiang Gao <qasdfgtyuiop@...il.com>
> Date: Fri, 15 Sep 2017 00:44:12 -0400
> Subject: [PATCH] ipv6_skip_exthdr: use ipv6_authlen for AH hdrlen
>
> 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.
Your patch was whitespace corrupted by your email client.
Powered by blists - more mailing lists