Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2222812/?format=api
{ "id": 2222812, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2222812/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260413190713.283939-4-ematsumiya@suse.de/", "project": { "id": 12, "url": "http://patchwork.ozlabs.org/api/1.2/projects/12/?format=api", "name": "Linux CIFS Client", "link_name": "linux-cifs-client", "list_id": "linux-cifs.vger.kernel.org", "list_email": "linux-cifs@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260413190713.283939-4-ematsumiya@suse.de>", "list_archive_url": null, "date": "2026-04-13T19:07:09", "name": "[4/8] smb: client: compress: increase LZ77_MATCH_MAX_DIST", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3dd93f6a493ec41bdd17b8bdd2b34d449e9e4d02", "submitter": { "id": 78375, "url": "http://patchwork.ozlabs.org/api/1.2/people/78375/?format=api", "name": "Enzo Matsumiya", "email": "ematsumiya@suse.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260413190713.283939-4-ematsumiya@suse.de/mbox/", "series": [ { "id": 499741, "url": "http://patchwork.ozlabs.org/api/1.2/series/499741/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=499741", "date": "2026-04-13T19:07:09", "name": "[1/8] smb: client: compress: fix buffer overrun in lz77_compress()", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/499741/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2222812/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2222812/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-cifs+bounces-10778-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-cifs@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=Qr1vj1vC;\n\tdkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=Jl7xTLdb;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.a=rsa-sha256 header.s=susede2_rsa header.b=Qr1vj1vC;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=Jl7xTLdb;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-cifs+bounces-10778-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.b=\"Qr1vj1vC\";\n\tdkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de\n header.b=\"Jl7xTLdb\";\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.b=\"Qr1vj1vC\";\n\tdkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de\n header.b=\"Jl7xTLdb\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=195.135.223.131", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=suse.de", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=suse.de", "smtp-out2.suse.de;\n\tnone" ], "Received": [ "from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fvcPB4yhVz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 05:07:58 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id DD6C930157BD\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 13 Apr 2026 19:07:54 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 10E3F3914E5;\n\tMon, 13 Apr 2026 19:07:52 +0000 (UTC)", "from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id DFDE93914E8\n\tfor <linux-cifs@vger.kernel.org>; Mon, 13 Apr 2026 19:07:49 +0000 (UTC)", "from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby smtp-out2.suse.de (Postfix) with ESMTPS id 301E05BDA7;\n\tMon, 13 Apr 2026 19:07:48 +0000 (UTC)", "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id B0A8A4B039;\n\tMon, 13 Apr 2026 19:07:47 +0000 (UTC)", "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n\tby imap1.dmz-prg2.suse.org with ESMTPSA\n\tid iSbTHQM/3WmwEAAAD6G6ig\n\t(envelope-from <ematsumiya@suse.de>); Mon, 13 Apr 2026 19:07:47 +0000" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776107271; cv=none;\n b=WyG402wRHTy86Ex7ddSjSYYnOBliLTXAG6A7OILsN+trl/0kCMKIXZmorJueDLYC2453FRaQkbx/znF8do3Lj8T2T8MJO6MzGpE4/fLVqRjNliSgODlZDyM27ijF/t+R55ispiSoPL19+WxmcCq9FANuQeAEdExo8hW5t+5bYVQ=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776107271; c=relaxed/simple;\n\tbh=moBmrrUFrQhF1bnyl4w8rK27LAoH5D4GpmEdbB5NiGU=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=CikkVbmOpdce9ROYbaHndYXystoMx+whrrxUmtc1yXhXQ3Ocox2WRyYm2w50MkKJvQahe4ufSfuORXqdnsE6Ke/1APTOLWxjiJlV1jp44HtINJau7eZCuqbC1vRgd1OzzfzNO34s+m2GJtpXs/89+pSmwOGdOazdyHNGYL9cyHg=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=suse.de;\n spf=pass smtp.mailfrom=suse.de;\n dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.b=Qr1vj1vC;\n dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de\n header.b=Jl7xTLdb;\n dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.b=Qr1vj1vC;\n dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de\n header.b=Jl7xTLdb; arc=none smtp.client-ip=195.135.223.131", "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n\tt=1776107268;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=7bcy3W0iQ/MgtF/lgtbsYvi7UpvHn398spjBkKGRhHE=;\n\tb=Qr1vj1vCoE0oBFcoiw+2kSwO9ZYh9CrZmd1Hvg26VT1c2qe2fo7jZOxM+IK23P6KdSNZ0L\n\tG1JlYGEH3umWaHg3KsBFwa8oO6cW3feifPQd1QOer0u5I+byvxLD0jGqWEQ2LUvLlouM+1\n\t2e8zhiIIhFeiSaP6gSxX0BtIqHrhMR0=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n\ts=susede2_ed25519; t=1776107268;\n\th=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=7bcy3W0iQ/MgtF/lgtbsYvi7UpvHn398spjBkKGRhHE=;\n\tb=Jl7xTLdb/sxWJJ/22oL2/taTAH3hGgQAUAM1sGQaglaBuQ+iW2Wp+4F00j9dxUbdgk+f7R\n\tpSci/H9T+A2TGiAA==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n\tt=1776107268;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=7bcy3W0iQ/MgtF/lgtbsYvi7UpvHn398spjBkKGRhHE=;\n\tb=Qr1vj1vCoE0oBFcoiw+2kSwO9ZYh9CrZmd1Hvg26VT1c2qe2fo7jZOxM+IK23P6KdSNZ0L\n\tG1JlYGEH3umWaHg3KsBFwa8oO6cW3feifPQd1QOer0u5I+byvxLD0jGqWEQ2LUvLlouM+1\n\t2e8zhiIIhFeiSaP6gSxX0BtIqHrhMR0=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n\ts=susede2_ed25519; t=1776107268;\n\th=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=7bcy3W0iQ/MgtF/lgtbsYvi7UpvHn398spjBkKGRhHE=;\n\tb=Jl7xTLdb/sxWJJ/22oL2/taTAH3hGgQAUAM1sGQaglaBuQ+iW2Wp+4F00j9dxUbdgk+f7R\n\tpSci/H9T+A2TGiAA==" ], "From": "Enzo Matsumiya <ematsumiya@suse.de>", "To": "linux-cifs@vger.kernel.org", "Cc": "smfrench@gmail.com,\n\tpc@manguebit.com,\n\tronniesahlberg@gmail.com,\n\tsprasad@microsoft.com,\n\ttom@talpey.com,\n\tbharathsm@microsoft.com,\n\thenrique.carvalho@suse.com", "Subject": "[PATCH 4/8] smb: client: compress: increase LZ77_MATCH_MAX_DIST", "Date": "Mon, 13 Apr 2026 16:07:09 -0300", "Message-ID": "<20260413190713.283939-4-ematsumiya@suse.de>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260413190713.283939-1-ematsumiya@suse.de>", "References": "<20260413190713.283939-1-ematsumiya@suse.de>", "Precedence": "bulk", "X-Mailing-List": "linux-cifs@vger.kernel.org", "List-Id": "<linux-cifs.vger.kernel.org>", "List-Subscribe": "<mailto:linux-cifs+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-cifs+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Spam-Score": "-2.80", "X-Spam-Level": "", "X-Spamd-Result": "default: False [-2.80 / 50.00];\n\tBAYES_HAM(-3.00)[99.99%];\n\tNEURAL_HAM_LONG(-1.00)[-1.000];\n\tMID_CONTAINS_FROM(1.00)[];\n\tR_MISSING_CHARSET(0.50)[];\n\tNEURAL_HAM_SHORT(-0.20)[-0.998];\n\tMIME_GOOD(-0.10)[text/plain];\n\tTO_MATCH_ENVRCPT_ALL(0.00)[];\n\tFUZZY_RATELIMITED(0.00)[rspamd.com];\n\tFROM_HAS_DN(0.00)[];\n\tRCVD_VIA_SMTP_AUTH(0.00)[];\n\tFREEMAIL_CC(0.00)[gmail.com,manguebit.com,microsoft.com,talpey.com,suse.com];\n\tARC_NA(0.00)[];\n\tTO_DN_NONE(0.00)[];\n\tRCVD_TLS_ALL(0.00)[];\n\tFROM_EQ_ENVFROM(0.00)[];\n\tRCVD_COUNT_TWO(0.00)[2];\n\tRCPT_COUNT_SEVEN(0.00)[8];\n\tDBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid,suse.de:email];\n\tMIME_TRACE(0.00)[0:+];\n\tDKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n\tFREEMAIL_ENVRCPT(0.00)[gmail.com]", "X-Spam-Flag": "NO" }, "content": "Increase max distance (i.e. window size) from 1k to 8k.\nThis allows better compression and is just as fast.\n\nOther:\n- drop LZ77_MATCH_MIN_DIST as it's nused -- main loop\n already checks if dist > 0\n\nSigned-off-by: Enzo Matsumiya <ematsumiya@suse.de>\n---\n fs/smb/client/compress/lz77.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)", "diff": "diff --git a/fs/smb/client/compress/lz77.c b/fs/smb/client/compress/lz77.c\nindex 61cdf1c14612..480927dcd4c6 100644\n--- a/fs/smb/client/compress/lz77.c\n+++ b/fs/smb/client/compress/lz77.c\n@@ -17,8 +17,7 @@\n * Compression parameters.\n */\n #define LZ77_MATCH_MIN_LEN\t4\n-#define LZ77_MATCH_MIN_DIST\t1\n-#define LZ77_MATCH_MAX_DIST\tSZ_1K\n+#define LZ77_MATCH_MAX_DIST\tSZ_8K\n #define LZ77_HASH_LOG\t\t15\n #define LZ77_HASH_SIZE\t\t(1 << LZ77_HASH_LOG)\n #define LZ77_STEP_SIZE\t\tsizeof(u64)\n", "prefixes": [ "4/8" ] }