Skip to content

net/9p: fix response size check in p9_check_errors()

Christian Schoenebeck lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

* Move zc to end of struct p9_rstatf (to avoid huge padding).

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/9p: distinguish zero-copy requestsinclude/net/9p/9p.h net/9p/client.c+8 -00 replies
2/2net/9p: fix response size check in p9_check_errors()net/9p/client.c+3 -40 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchStefano Stabellini
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] net/9p: fix response size check in p9_check_errors()

Follow-up fix for:
https://lore.kernel.org/linux-kernel/[email protected]/

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(-)
Signature · 1 line
2.30.2