summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPierre Barre <pierre@barre.sh>2026-05-12 16:20:31 +0300
committerDominique Martinet <asmadeus@codewreck.org>2026-05-19 14:58:18 +0300
commitb4d71bea144550ff4a0917f8c4b06d4063eb27a6 (patch)
treefd9e4f86f2898942d02e8ae3bc6e6fbb1ae4c7c3 /scripts
parent9061075b4f0a897e25ce46c396698dd24f92f5cb (diff)
downloadlinux-b4d71bea144550ff4a0917f8c4b06d4063eb27a6.tar.xz
9p: use kvzalloc for readdir buffer
The readdir buffer is sized to msize, so kzalloc() can fail under fragmentation with a page allocation failure in v9fs_alloc_rdir_buf() / v9fs_dir_readdir_dotl(). The buffer is only a response sink and is never pack_sg_list()'d, so kvzalloc() is safe for all transports, unlike the fcall buffers fixed in e21d451a82f3 ("9p: Use kvmalloc for message buffers on supported transports"). Signed-off-by: Pierre Barre <pierre@barre.sh> Message-ID: <20260512132032.369281-1-pierre@barre.sh> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions