Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp337870ybg; Sun, 26 Jul 2020 06:14:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy71TwfPMVsXkJ5CA9NO877NYNSgSbjgKw7bDZNJK0GUfL8ctrIzyKODE2rqIgZds/B/zBW X-Received: by 2002:a17:907:42a0:: with SMTP id ny24mr10083686ejb.328.1595769252302; Sun, 26 Jul 2020 06:14:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595769252; cv=none; d=google.com; s=arc-20160816; b=T5wFiNawnHobR5kChSGiAHMuFkhu2jpCWtZBMnQ+jS7GaMgjmBWs6FEBtHz8dkB9zD H09zML3Euy+skQyRsOrwhVQYZhWMmBl2l1MLMBbBcN7mpHuxBWgzOWr69TGc8Wph8ZYb x7zxeLqLsubKB7lzKPPlLgx7Z4daRl8ctdleFJKvT3jRHf5RlmprrwQsMVJP/vxcpnyc BiZdefCq+n5oBubBMUdgNL2fKUmGC77NMcB8sLCcmoFOX6ZcZZTwq3Xs/DfLdCtgDKYP +wfgdPrq8o9d41Xx20z5z3TgD8mfyDDHPc3HaFJHXyeUyaCgklNjp7+Yx0z6/wjpdx4C 5y4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ASbKazThAxyPI+gS02+4Qf0lChoQbWaIBby5Xxgm/sQ=; b=uvTMher8fQ3Ql26u3QiGKP3Yy5dTvKYmSoaaF+Mcq4HbY8Mgovg8w9om0/TmQSiTlD ngj+OWMY/XGwMlwbnyki9iXOwsO8S/QrZN/rUz6IsEIbz2HKVWVac9gJ9l4PqWPNCxV4 34qIZm+cfJXWikm7lqo553z2qoLz4SWuVNGHDgNnKYB5MfJiA1XI3AqlzCjlx5tfJ37/ oVaf/NmCMWQAMCIqdSOiCRqhkmlgo1SP5s4Ajkn3QKSalHhR74/pedgJzI3YcJaX6yy/ 5LdVSPQVlw/cj2CWJsYowv+/9cDjlDTTobnPzq5zNn1BjZzEjN13gyPbr0j7R4BsnQm4 BF4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=PXpTcGMF; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si296214edi.214.2020.07.26.06.13.31; Sun, 26 Jul 2020 06:14:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=PXpTcGMF; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726964AbgGZNJv (ORCPT + 99 others); Sun, 26 Jul 2020 09:09:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726937AbgGZNJv (ORCPT ); Sun, 26 Jul 2020 09:09:51 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B741C0619D4 for ; Sun, 26 Jul 2020 06:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ASbKazThAxyPI+gS02+4Qf0lChoQbWaIBby5Xxgm/sQ=; b=PXpTcGMFjC6zGuqT9BSRRjMjmX wIZdjYQ35UrvZiVXhpAuG2hhDb79kuBAQeBdqzx5g5Wwdr+eh+Hrg+Ac/EUAaZxZGgh9UZEmPJGte xLAsiLhPkJvtgAA2Pofgo+uEx7SF2UUnnCc4u9G6k63NOZeioqlDL2wqxZLGV5iaWwZ8=; Received: from p5b206d80.dip0.t-ipconnect.de ([91.32.109.128] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.89) (envelope-from ) id 1jzgPU-0000J8-W4; Sun, 26 Jul 2020 15:09:49 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: [PATCH 2/2] mac80211: calculcate skb hash early when using itxq Date: Sun, 26 Jul 2020 15:09:47 +0200 Message-Id: <20200726130947.88145-2-nbd@nbd.name> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200726130947.88145-1-nbd@nbd.name> References: <20200726130947.88145-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This avoids flow separation issues when using software encryption Signed-off-by: Felix Fietkau --- net/mac80211/tx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index a4e7ef6b0457..7cb73416a372 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -3951,6 +3951,7 @@ void __ieee80211_subif_start_xmit(struct sk_buff *skb, if (local->ops->wake_tx_queue) { u16 queue = __ieee80211_select_queue(sdata, sta, skb); skb_set_queue_mapping(skb, queue); + skb_get_hash(skb); } if (sta) { -- 2.24.0