From: Steffen Klassert <steffen.klassert@secunet.com>
To: Li RongQing <lirongqing@baidu.com>
Cc: <netdev@vger.kernel.org>
Subject: Re: [PATCH][ipsec-next] xfrm: use correct size to initialise sp->ovec
Date: Tue, 9 Oct 2018 10:20:40 +0200 [thread overview]
Message-ID: <20181009082040.GT3823@gauss3.secunet.de> (raw)
In-Reply-To: <1538878962-22453-1-git-send-email-lirongqing@baidu.com>
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@baidu.com>
Also applied, thanks a lot Li!
prev parent reply other threads:[~2018-10-09 15:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-07 2:22 [PATCH][ipsec-next] xfrm: use correct size to initialise sp->ovec Li RongQing
2018-10-09 8:20 ` Steffen Klassert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181009082040.GT3823@gauss3.secunet.de \
--to=steffen.klassert@secunet.com \
--cc=lirongqing@baidu.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox