All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] net/9p: fix response size check in p9_check_errors()
@ 2022-11-22 19:21 Christian Schoenebeck
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Schoenebeck @ 2022-11-22 19:21 UTC (permalink / raw)
  To: Dominique Martinet, Stefano Stabellini
  Cc: v9fs-developer, linux-kernel, GUO Zihua

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-22 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-22 19:21 [PATCH v2 0/2] net/9p: fix response size check in p9_check_errors() Christian Schoenebeck
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

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.