aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorChristian Schoenebeck <[email protected]>2022-11-22 20:20:29 +0100
committerDominique Martinet <[email protected]>2022-12-06 07:31:18 +0900
commita31b3cffbd8e5d032dcb267bf94ee48d71c1a28b (patch)
treec63c7550644310bc496a214ef69b3cdd94f07fae /tools/perf/scripts/python/bin/export-to-postgresql-report
parent8e4c2eee1e15c1206c26f6b28b05fe9711a427c6 (diff)
net/9p: fix response size check in p9_check_errors()
Since commit 60ece0833b6c ("net/9p: allocate appropriate reduced message buffers") it is no longer appropriate to check server's response size against msize. Check against the previously allocated buffer capacity instead. - Omit this size check entirely for zero-copy messages, as those always allocate 4k (P9_ZC_HDR_SZ) linear buffers which are not used for actual payload and can be much bigger than 4k. - Replace p9_debug() by pr_err() to make sure this message is always printed in case this error is triggered. - Add 9p message type to error message to ease investigation. Link: https://lkml.kernel.org/r/e0edec84b1c80119ae937ce854b4f5f6dbe2d08c.1669144861.git.linux_oss@crudebyte.com Signed-off-by: Christian Schoenebeck <[email protected]> Tested-by: Stefano Stabellini <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions