From: Thomas Monjalon <thomas@monjalon.net>
To: Olivier Matz <olivier.matz@6wind.com>
Cc: dev@dpdk.org
Subject: Re: [PATCH] net: fix inner L2 length in software ptype parser
Date: Thu, 05 Oct 2017 23:33:16 +0200 [thread overview]
Message-ID: <43071882.lgGQRa1Taa@xps> (raw)
In-Reply-To: <20170911145722.4833-1-olivier.matz@6wind.com>
11/09/2017 16:57, Olivier Matz:
> The inner L2 length returned by rte_net_get_ptype() is not
> properly initialized. If the caller does not zero the header
> lengths structure, the inner_l2 field will be undefined.
>
> Fix it by initializing inner_l2 to 0 when parsing a inner layer.
>
> Fixes: 2c15c5377da2 ("net: support NVGRE in software packet type parser")
>
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Applied, thanks
prev parent reply other threads:[~2017-10-05 21:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 14:57 [PATCH] net: fix inner L2 length in software ptype parser Olivier Matz
2017-10-05 21:33 ` Thomas Monjalon [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=43071882.lgGQRa1Taa@xps \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=olivier.matz@6wind.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.