Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp331819rdb; Thu, 18 Jan 2024 05:07:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWcflrBbqpeCro/DAxS5zovhspzwmjn71kSoTGGSTJ7hPNgz6kGTj6hswTc4k/kICyrLSv X-Received: by 2002:a05:6e02:48b:b0:361:955e:2cb0 with SMTP id b11-20020a056e02048b00b00361955e2cb0mr934795ils.13.1705583262183; Thu, 18 Jan 2024 05:07:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705583262; cv=pass; d=google.com; s=arc-20160816; b=HMD2hYyRZskt0XFZoXiFVz7sZMSohOGfn/1juWnUGp9cMVwc9pjijAp9ZhXAwqjq/l s2a79YiI3rggfnJ0jz3wa5UZ6ADAPuMuAs0kAFSJRlbM8+bNksOj0nXMw5A1XqayJT+q NpNB50ZS1egjifTJD+VUzFCuMX694n6zdmI1cHGi/VAOPxFE699Em9MTkgojr3x9XTtH 6N7jXphGa+kWXmxTPIeK6t4cRTC0EftL7abipuVtJ6ybAkIFr2RyUOBl5pGfhtY9nPoj xcqzwerkZuMpshxmbVnGYaIGa+Z3xz5PVVdZTevi6HSXUe2ql0keE7kNnS5kmGLZDa4N xDUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=8aEH4WQNGyaev6jiqVBwqosC7xHP+HNKMBHqWPvL+xU=; fh=lPmTKsuzRSeZ9euNCdFZRIG+TjSdpV02VH+iyt0fN1U=; b=ZsG2I0Td+nPXimFULNMH5CXcFnaA14jQNrf8n+dTMYBo/XgfVnRdIQCObla0MJgTAv eedIiUiAE8ML2+68PCtRn4J3WBnfDxiBqFgbwtz2sv1aojPzxxiLyc7lle9APLO1IcPm VzwvCDDDFg9ygvmCoWC4KOyBkNeV8iIEERtmnYsS7QNe09LaPONKDkZo3LUMmVNRVRC0 yFr+5ZlrcDBVx89B9jspSOJuMRkfz47b/TtE4LutxXCwcv/9VU1ZmF2OCz5qYpNrWN0Q bZzeG8/ay7UnwIQHggN0XcxcPVlhDKsG+fTy9ZalmM81EqnGfTmgT9B0aXqO2dTw/dTR q1zQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qx3oeMIK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f6-20020a656286000000b005c6deead022si1447174pgv.603.2024.01.18.05.07.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 05:07:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qx3oeMIK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D07CB281AE9 for ; Thu, 18 Jan 2024 13:07:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 53572250E4; Thu, 18 Jan 2024 13:07:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Qx3oeMIK" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 304B1250E1 for ; Thu, 18 Jan 2024 13:07:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705583252; cv=none; b=kjiqVrcOlBTg5jltzCdJpsp4YWet3xZEIslCpTjEFWEm6lvZVs4qGuq6bcYxbRcQm0CqfywSdLcAfAjJqj0npi0M8GxFQSZcFzWrYZ3U24aSwg31wAcwnWtFLTjjpuua4+zs28NOZ0DRLUy11oN5faKYQwteH2P32Vm5DKf/upk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705583252; c=relaxed/simple; bh=8n1qMvdhePDwaY9HjjikmpcVO8WTz22ori7cLmW0szM=; h=Received:DKIM-Signature:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:In-Reply-To:References:To: Cc:User-Agent:Message-ID:Date; b=nO9MQ7iMneDHIEupGpQvj5Fdirc2lZ+nZP7pK/PgReaKJgmzlF58+v9wsudGaR8A6eExe3QWqqbU1hjjxI6R0hqMsPnk/K3K7fRVemKveISOLxbQslbLstN68J1lcMX/KkGuaRHtPQVzfgqCNUruzgwsdPGjVi+HxRiWIQlQq/8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Qx3oeMIK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6796FC43390; Thu, 18 Jan 2024 13:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705583251; bh=8n1qMvdhePDwaY9HjjikmpcVO8WTz22ori7cLmW0szM=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Qx3oeMIKWf64rY4yRHx/YrL0Tx/Bt4xCftwBpmHlXnDKT2BAP7URbKa/g7EYuirJ2 VI1iWS3HbQWBkVbEo+s+0C1/jgFI3ziCcbtQa7tco17wLW9aaXRW3MhDAzlI4OObji AKgY9AQ+1c4i1zhiUIBNCHZUI4ga426ArfY/QWyeWNC6g/FygC7PTK2wsYr1bRW/bt xDmwUmiC1NVLUl6fvl6u0yuKr/1y3fZFsooAcViT1O6r4xSL+t0iBtKwisXHe3jgVb v8/qjDOD5jAd7Ck1vXaxrQTpHY0MWmYxPgsmLijd7TJ9wWV1mXoZKBGq3TZsW9kHVj rWT7K1pVqExSA== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rt2x00: simplify rt2x00crypto_rx_insert_iv() From: Kalle Valo In-Reply-To: <20231019070750.17911-1-dmantipov@yandex.ru> References: <20231019070750.17911-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Stanislaw Gruszka , Helmut Schaa , linux-wireless@vger.kernel.org, lvc-project@linuxtesting.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170558324865.2924528.4635614423834135682.kvalo@kernel.org> Date: Thu, 18 Jan 2024 13:07:30 +0000 (UTC) Dmitry Antipov wrote: > In 'rt2x00crypto_rx_insert_iv()', added alignment can't exceed 3 > bytes and ICV size is either 4 or 8 bytes, so skb space adjustment > may be simplified. Compile tested only. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Antipov Patch applied to wireless-next.git, thanks. 173b0fb47c3d wifi: rt2x00: simplify rt2x00crypto_rx_insert_iv() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231019070750.17911-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches