From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id A33338045D for ; Thu, 22 Oct 2026 20:29:55 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 69MKRRx1016681; Thu, 22 Oct 2026 23:27:28 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69MKRRx1016681 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvz.org; s=default; t=1792700849; bh=/WCJzq+O0Rzj5f6iD1Akx8YgwE8caqFU9b5cAT0ZDt8=; h=From:To:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe; b=eTWuMz73kCyesbu8Ls0xjQ9qt7X8QWEJgFBj45MP+DkUfgibMx3xI4p+uVR8FT2cH SvFNA1vl4UDVD+mhWAq7OCDfq6NSzm7N42CzqsSjGs7NF4VlPb6XRj/Y1XpkjQCV2H PAGe61F+20C+EKYE0Kb6zkpfpFUmZmdZSY0V1LNnQQHQd2h1t+yQMETE7MCH+pGLco UJBZ4b+j62a5MAThkARywsosNYBclzYlfcVibRgpZ7jYnoUDVrX4R1Jc36LlbAdnAI XDZIpdJpLFg7bQGY7jBpRnyFmVy2bB5eXLXLdq9NigjXvk+lG57QLAzjNtfevek6Kx BrUsGJKjR8lIQ== Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 69MKRLPZ016665 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Thu, 22 Oct 2026 23:27:21 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69MKRLPZ016665 Authentication-Results: mail.openvz.org; dkim=pass (2048-bit key) header.d=openvz.org header.i=@openvz.org header.b="IyRy/BXq" Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-4a1e295b702so1664015e9.2 for ; Thu, 22 Oct 2026 13:27:21 -0700 (PDT) X-Gm-Message-State: AFq9FYIX/Czzocc5QrFnBpMLiN72CTnMNVpnRDWOG/LG4ERbfH0hJFpW jjxxZu4zYTxHTFguFhLZj/tM5CJF0QSbV7wmLijJSF5Uqco9JcMtSGicasf4gKFEn3dfUsaDjS+ 0eeNyKA69LlGAO6DSx7lPYZar83rkfY++Ufi+XsgnGAcfQKL6pqgvwQ== X-Gm-Gg: AYBFou36rBrOisCZ2J9+dxZZbUGLgA4GAk6Wll+UUGdqSkpx7feH8V7+ae6U14Mc1ys fPQQSO4f4nLuWgUxN0jflotAC1dgm9PTQNC3vcZctPTvu5EPNBF2TclFb+OiriqLxo/9EfqkkSj pSLxrnRdQ9PjcOfoKuiEh94+wJt1bbvJEMvt1jEGOTVUhyfDEktJwuOEE+YMlNfAeI2dlpYlCnP zR2BdqpEs7uYrwbudikZgp3a8duXCNVsH2ZRbdEVnB9nB2MKaEunIpJegZsP3lREzV6llQkMYzH D84CMW03tQ== X-Received: by 2002:a05:600c:638e:b0:4a1:f736:79f3 with SMTP id 5b1f17b1804b1-4a211c91bcbmr2612115e9.5.1792700841136; Thu, 22 Oct 2026 13:27:21 -0700 (PDT) X-Received: by 2002:a05:600c:638e:b0:4a1:f736:79f3 with SMTP id 5b1f17b1804b1-4a211c91bcbmr2611935e9.5.1792700840677; Thu, 22 Oct 2026 13:27:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1792700840; cv=none; d=google.com; s=arc-20260327; b=dFG83oB6siWpfjUMtopJo5DiDgUHwQbWrTjkM6FMrmZsvwr7Y+aPnZZ3tNXb/TyD5N imKzuCau6a2SudZkv0UhM/PFxnIcRwIX+LJOye6RJuppVly9y/lVPyby6pinuoaDuqiI YhmN0LdIFrSyoHi6Wv9G8aKYH5W1p9smEXP4wLmXmXtX2K6HnlLJuDeNuc63EgUYAcGt PCB0XqqRQYjM47CPnvYltfNE2RlGYVoCB3u/g9xJ29qRHwceAD+aTpygYheJtrCK8NyK rcx70sN/YE5yAsLeGL70GGKdyr/sclNQMJb9V+997byrJbHDg7miV8mplxMR6SLgJlXn E4yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=V+LlgubHHtUq6pzCy9Wz+Pim1NBvhH8y1QiRhi+w7Ig=; fh=9uh4XaPpgi4eEAsqC4+SeZyHNzLz7ufStPU27zuFNdo=; b=G3nMhTt9cez7Bili0uSX88aDXdP6O8bpWcrVleyujlOcrf38E9v7lQFkoE1U8b8+Z1 mndBx8BP02bm0ICiStsGjSWshSgRv9gkwblimuax93ocstxTKJIagmEXVyk4x2oGmrpt dHIrdITsbY1nmOsIjW37Ga0pbP7+ueZ/yG4Ki2zSK1T3vobdEm5M573dDauNKiYU3kBL 8mmf1BeHIu0Un++N/ZeLJw8A3p6BuPPl5/SK0FEzViSEm6uoz3BzUAwWF9SRBcnWD9hU qSNL5EXdNCDlIOa2cuv87VF1azR5cy95hbMc4kk2BROJDMQikhZohZfFtIPQpH0glmXb 14yA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@openvz.org header.s=google header.b="IyRy/BXq"; spf=softfail (google.com: domain of transitioning den@openvz.org does not designate 2a06:5b06:b600:300:3c49:8d18:710e:ef45 as permitted sender) smtp.mailfrom=den@openvz.org; dara=neutral header.i=@openvz.org Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 5b1f17b1804b1-4a211bbac7csor415945e9.6.2026.10.22.13.27.20 for (Google Transport Security); Thu, 22 Oct 2026 13:27:20 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning den@openvz.org does not designate 2a06:5b06:b600:300:3c49:8d18:710e:ef45 as permitted sender) client-ip=2a06:5b06:b600:300:3c49:8d18:710e:ef45; Authentication-Results: mx.google.com; dkim=pass header.i=@openvz.org header.s=google header.b="IyRy/BXq"; spf=softfail (google.com: domain of transitioning den@openvz.org does not designate 2a06:5b06:b600:300:3c49:8d18:710e:ef45 as permitted sender) smtp.mailfrom=den@openvz.org; dara=neutral header.i=@openvz.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvz.org; s=google; t=1792700840; x=1793305640; darn=openvz.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=V+LlgubHHtUq6pzCy9Wz+Pim1NBvhH8y1QiRhi+w7Ig=; b=IyRy/BXqdmOYZbN+LKflPp7KF/7r7rgNkTvOgOilvadw0YxeA0OgC44SiEQXYODQH+ ynVkZYxAIBfyK33fVyOTl10sMUxz+Lb0E6bxvkr2jVfXCJkLXRtTFcoB+0vD0Q1i7Ysl JgTBGGmiw3ZVQ7njZao3NWofYEWImAilK9xbbDb3/9WZ7OTwzo+ipO5bBISWVhhlc0ZC EoWrZ5ygi0zIbzyZqyPbyzrS85SbuvGcOp+BnNv+xqzMo/PXNuijuPkJtuE26kkQOb79 ZBLZwx410zwG3FqpwenK5GOI/Q9QXJDkSEZ/Zx8sWHWAEU+h3W0CLL0RIbXcQmxj9iXc dOOA== X-Received: by 2002:a05:600c:19ca:b0:4a1:fcfa:2a07 with SMTP id 5b1f17b1804b1-4a211dd9804mr2881455e9.30.1792700840308; Thu, 22 Oct 2026 13:27:20 -0700 (PDT) Received: from athena.sw.ru ([2a06:5b06:b600:300:3c49:8d18:710e:ef45]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a21047b524sm21261065e9.14.2026.10.22.13.27.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2026 13:27:19 -0700 (PDT) From: "Denis V. Lunev" To: devel@openvz.org Date: Thu, 22 Oct 2026 22:27:15 +0200 Message-ID: X-Mailer: git-send-email 2.53.0 In-Reply-To: References: MIME-Version: 1.0 X-OZ-Fwd: true Subject: [Devel] [PATCH RK hci-7.4 1/2] fs/fuse kio: keep pcs_rdma_io.c line numbers stable in the RK X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org TRACE() embeds __LINE__, so the net line shift of "fix RPC response drop for large messages sent over RDMA" changes the trace string of every TRACE() user below rio_handle_tx(). kpatch-build then treats pcs_rdma_create() and the RDMA event handlers as changed and puts copies of them into the patch module. The patched pcs_rdma_create() stores the addresses of those copies in rio->id.event_handler, cq->event_handler and qp->event_handler, which live as long as the connection. Once the RK is replaced and its module unloaded, the next CM event on such a connection jumps into freed memory: BUG: unable to handle page fault for address: ffffffffc170ef30 #PF: supervisor instruction fetch in kernel mode RIP: 0010:0xffffffffc170ef30 cma_cm_event_handler+0x1e/0xd0 [rdma_cm] Reset the line counter with #line after the two changed functions so everything below them is identical to the base kernel and stays out of the patch. https://virtuozzo.atlassian.net/browse/VSTOR-151314 Signed-off-by: Denis V. Lunev --- fs/fuse/kio/pcs/pcs_rdma_io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/fuse/kio/pcs/pcs_rdma_io.c b/fs/fuse/kio/pcs/pcs_rdma_io.c index 63fb1e7..67f3aad 100644 --- a/fs/fuse/kio/pcs/pcs_rdma_io.c +++ b/fs/fuse/kio/pcs/pcs_rdma_io.c @@ -830,6 +830,7 @@ static void rio_handle_tx(struct pcs_rdmaio *rio, struct rio_tx *tx, int ok) BUG(); } } +#line 836 /* * rio wire header is already stripped, buf points to payload data (pcs_rpc hdr) @@ -937,6 +938,7 @@ static int rio_handle_rx_read_ack(struct pcs_rdmaio *rio, return PCS_ERR_NET_ABORT; } +#line 941 /* * When we see RX coming from the wire very first time, flag "pended" is -- 2.53.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel