From: Yasufumi Ogawa <yasufum.o@gmail.com>
To: x-fn-spp-ml@ntt-tx.co.jp
Cc: ferruh.yigit@intel.com, spp@dpdk.org
Subject: Re: [spp] [PATCH] spp-ctl: fix exception when receiving large data
Date: Tue, 18 Feb 2020 16:41:57 +0900 [thread overview]
Message-ID: <164319b3-9ff8-4506-d586-ee3aa0420e11@gmail.com> (raw)
In-Reply-To: <20200214091849.22194-1-x-fn-spp-ml@ntt-tx.co.jp>
> From: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>
>
> Upon receiving large size response, spp-ctl tries
> to refer self variable which does not exist
> and thus exception takes place.
> This patch tries to refer Class Object instead.
>
> Fixes: f747dcf8 ("spp-ctl: add updating for no existing sec procs")
Applied, thanks.
>
> Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@ntt-tx.co.jp>
> Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
> ---
> src/spp-ctl/spp_ctl.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/spp-ctl/spp_ctl.py b/src/spp-ctl/spp_ctl.py
> index ea19aa6..9e11097 100644
> --- a/src/spp-ctl/spp_ctl.py
> +++ b/src/spp-ctl/spp_ctl.py
> @@ -124,7 +124,7 @@ class Controller(object):
> data = conn.recv(MSG_SIZE)
> if data and len(data) == MSG_SIZE:
> # could not receive data at once. recieve remining data.
> - data += self._continue_recv(conn)
> + data += Controller._continue_recv(conn)
> if data:
> data = data.decode()
> except Exception as e:
>
prev parent reply other threads:[~2020-02-18 7:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-14 9:18 x-fn-spp-ml
2020-02-18 7:41 ` Yasufumi Ogawa [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=164319b3-9ff8-4506-d586-ee3aa0420e11@gmail.com \
--to=yasufum.o@gmail.com \
--cc=ferruh.yigit@intel.com \
--cc=spp@dpdk.org \
--cc=x-fn-spp-ml@ntt-tx.co.jp \
/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;
as well as URLs for NNTP newsgroup(s).