From: Christian Schoenebeck <linux_oss@crudebyte.com>
To: Dominique Martinet <asmadeus@codewreck.org>,
Stefano Stabellini <sstabellini@kernel.org>
Cc: v9fs-developer@lists.sourceforge.net,
linux-kernel@vger.kernel.org, GUO Zihua <guozihua@huawei.com>
Subject: [PATCH v2 0/2] net/9p: fix response size check in p9_check_errors()
Date: Tue, 22 Nov 2022 20:21:01 +0100 [thread overview]
Message-ID: <cover.1669144861.git.linux_oss@crudebyte.com> (raw)
Follow-up fix for:
https://lore.kernel.org/linux-kernel/Y3hADWgV9JeajmfF@codewreck.org/
Dominique, I moved `zc` to the end of the structure to somewhat address
the layout padding. If you prefer a function argument in the first place,
let me know and I'll send a v3.
v1 -> v2:
* Move `zc` to end of struct p9_rstatf (to avoid huge padding).
[patch 1]
* Fix format specifier for `capacity` (reported by kernel test bot).
[patch 2]
* Fix code style. [patch 1..2]
* Extend and adjust commit log messages. [patch 1..2]
Christian Schoenebeck (2):
net/9p: distinguish zero-copy requests
net/9p: fix response size check in p9_check_errors()
include/net/9p/9p.h | 2 ++
net/9p/client.c | 13 +++++++++----
2 files changed, 11 insertions(+), 4 deletions(-)
--
2.30.2
next reply other threads:[~2022-11-22 20:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 19:21 Christian Schoenebeck [this message]
2022-11-22 19:20 ` [PATCH v2 1/2] net/9p: distinguish zero-copy requests Christian Schoenebeck
2022-11-22 19:20 ` [PATCH v2 2/2] net/9p: fix response size check in p9_check_errors() Christian Schoenebeck
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=cover.1669144861.git.linux_oss@crudebyte.com \
--to=linux_oss@crudebyte.com \
--cc=asmadeus@codewreck.org \
--cc=guozihua@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sstabellini@kernel.org \
--cc=v9fs-developer@lists.sourceforge.net \
/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.