[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181009082040.GT3823@gauss3.secunet.de>
Date: Tue, 9 Oct 2018 10:20:40 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Li RongQing <lirongqing@...du.com>
CC: <netdev@...r.kernel.org>
Subject: Re: [PATCH][ipsec-next] xfrm: use correct size to initialise sp->ovec
On Sun, Oct 07, 2018 at 10:22:42AM +0800, Li RongQing wrote:
> This place should want to initialize array, not a element,
> so it should be sizeof(array) instead of sizeof(element)
>
> but now this array only has one element, so no error in
> this condition that XFRM_MAX_OFFLOAD_DEPTH is 1
>
> Signed-off-by: Li RongQing <lirongqing@...du.com>
Also applied, thanks a lot Li!
Powered by blists - more mailing lists