Message ID | 20221018092340.never.556-kees@kernel.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-hardening-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFB20C43217 for <linux-hardening@archiver.kernel.org>; Tue, 18 Oct 2022 09:25:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbiJRJZx (ORCPT <rfc822;linux-hardening@archiver.kernel.org>); Tue, 18 Oct 2022 05:25:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229942AbiJRJZj (ORCPT <rfc822;linux-hardening@vger.kernel.org>); Tue, 18 Oct 2022 05:25:39 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38685A99D6 for <linux-hardening@vger.kernel.org>; Tue, 18 Oct 2022 02:25:30 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id 129so12803759pgc.5 for <linux-hardening@vger.kernel.org>; Tue, 18 Oct 2022 02:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=smgOzVjWqVIBBGSbk+bAqgSK+ImSgqCNvhjx9z8C2ds=; b=Prf7xxc8c6RO6831Ks9ssdZq9ofHZAcpE0hdIQ+d1AkuWLxyhtob5UiyGEajV/rAI7 xgDSn/tg2vMoGP9+Y3mziadWZ3N28bU5CYJXHnoeTqq/NuzQMxi5gmOudYdPOw+X5Gxr ndG4v/RSevGxcD8K/0XJ67T9qNiNuXCgmy9ao= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=smgOzVjWqVIBBGSbk+bAqgSK+ImSgqCNvhjx9z8C2ds=; b=xN/lm4RH6n1tuyLYLMojL6WrojrMF8m4SrK5iocW6a4i3DRj3UK3O98LQi/mMIyuuN fFAFa4C+gASeLwPW62hbizU3jl4Jz7N+DKb9eRAPfAuYDXU9Rl2Z5keimtAo//78h+l/ PPiXozRVc3oc9YrUo9Lo1RG3voEm4WDvbAjLLKvk+YySUqcdzv5PnwnCwSJ6CNZHtMSA rSP+p0qOM6oZ9GusPl6yzKH3i9S3F2oC4tujS8wQ59TziUNHaSms8eYlxJ1xl1TcrN5K GDfatqCkiN+M3b9xQV7jlVwkjKrKxL9ClDzzM1tyCEBtn4RhVe6xLkU3ryD43ejnYXeb MRXA== X-Gm-Message-State: ACrzQf1/r/DjIR0+7MlxjP96pZ6swpr5xzZvpq+MM/6KVyazGzOzj2vO hdXuyIZU6sDlunFKe/WizMD5G2j4/pxdfQ== X-Google-Smtp-Source: AMsMyM7ajtyHBS+TRXtSQEwKaZpL/hbRdnb13JjeLJa7NsINcenQRY+eAz3SpJVDbIWZtAyazRaKaA== X-Received: by 2002:a63:4307:0:b0:464:a24d:8201 with SMTP id q7-20020a634307000000b00464a24d8201mr1911063pga.116.1666085129704; Tue, 18 Oct 2022 02:25:29 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id m20-20020a62a214000000b005609d3d3008sm9039968pff.171.2022.10.18.02.25.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 02:25:28 -0700 (PDT) From: Kees Cook <keescook@chromium.org> To: Ruhl@www.outflux.net, Michael J <michael.j.ruhl@intel.com> Cc: Kees Cook <keescook@chromium.org>, Jesse Brandeburg <jesse.brandeburg@intel.com>, Tony Nguyen <anthony.l.nguyen@intel.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-hardening@vger.kernel.org Subject: [PATCH v3 0/2] igb: Proactively round up to kmalloc bucket size Date: Tue, 18 Oct 2022 02:25:23 -0700 Message-Id: <20221018092340.never.556-kees@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=667; h=from:subject:message-id; bh=fe46aJaXIAy8NFr6NaDoWVctMGkMgluCIMsXEg4daWs=; b=owEBbQKS/ZANAwAKAYly9N/cbcAmAcsmYgBjTnEFofbxhgG6+Oz/mqUhGoxgqnLDQsrMFGGpTPSL oHyi/4CJAjMEAAEKAB0WIQSlw/aPIp3WD3I+bhOJcvTf3G3AJgUCY05xBQAKCRCJcvTf3G3AJvpsD/ 9e+QOmvIyz2MVEyVrcUOvmy4j+puTP/6PIBx8eB78oe+SxMHCsGBBNxooJbXME0Mw0qM5zEHzbks7a ND4MP+VamgnU/UfGcxGX/E9VnNcPHieQmpuAikOhqYsKaFYvuVohgJhHsDKf/MevMr9ZH1Zxa/efi7 gYUQa0QhYgT6mQ8FJZHXZdpVuAa09KMktmCO28YKnF/v1/qGMJJzE5X3ekdi4lvgxw4YGXLBZuariM Ky9jvuQrz6BE1TMRWBdMadND9UaBjhOGdu2/vPI5ZmQ6fO2n8fM//mX5C8jDh8M+Fuu8JdF290B8ci lveHjW12jkXfGrnnZNLew69uvexfjw1GIJRFzqFNJR+Hmlcv4x4SSBJwxhRoVB3aTpeLiMaQJIqjau tyKUPepOLR5jKxzOVvQ+cwJigmY1E4TxY/YLpBqDU5PAnyOxxIbzSQRe2B/bkTa4WpJ5P1lqwvybLc Qn+ffjYdd23f279GWcGonSAGKCzShx0QIJ/NQTZD2a6+uSvnG0nzNJ5+PosRlr1YZxC0yGjfDrfa7D Xp5cRYOMhDXFwm+GPH23JnsrMDK4pwHAde8HAiPYp00eN1efRiOSvHjv0j0bvfQS505N7wQowiy32c mQC5kJf5z26Ib8AqFERv3eMDM5Uwbyn3NapEjQh48vEXIg4KkNwdzcKyKcrA== X-Developer-Key: i=keescook@chromium.org; a=openpgp; fpr=A5C3F68F229DD60F723E6E138972F4DFDC6DC026 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-hardening.vger.kernel.org> X-Mailing-List: linux-hardening@vger.kernel.org |
Series |
igb: Proactively round up to kmalloc bucket size
|
expand
|
On Tue, Oct 18, 2022 at 02:25:23AM -0700, Kees Cook wrote: > Kees Cook (2): > igb: Do not free q_vector unless new one was allocated > igb: Proactively round up to kmalloc bucket size > > drivers/net/ethernet/intel/igb/igb_main.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) Ugh, yay for my MUA vs commas. Sorry for any future typo bounce spam. :(