Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp689976rdh; Tue, 22 Aug 2023 08:02:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IERxbDd/h7LN+GXJpfkke66r4xdlH7CBsc9DhYnopjN92TpRnUs1ANYLxFBGjyJtIkcempF X-Received: by 2002:a17:907:75f2:b0:98d:fc51:b3dd with SMTP id jz18-20020a17090775f200b0098dfc51b3ddmr7399669ejc.41.1692716563420; Tue, 22 Aug 2023 08:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692716563; cv=none; d=google.com; s=arc-20160816; b=q2SdRoBKrCH7cLKlMZ/tTVxZkpjeTH6htAsRUoVETkFq1sSnyb7YdkMP/L0QeuJGuo CrF9mGQWNFlcJI4KSAGmvRrBUnip+ZBFxQxx/cogFFNdT0RPPbzveIsDQ3vfljlzVHTo i5YjvRTqjcx4rKlvcucwVmQ78C0rNPGlcAVUSQlvXN0MCSKNJNP1SI9jhj6pBtsvo9Z2 p9mNUd1Z1ef5bwWaACMOa4AbFjCVLnNCXe0Gr+YmjX71cIsufJl0XCfhlcUOnHSnT9oe eRlY2uavHsaRqBZue0fX6TxCzbVz1khl6fZJzkIJxQQi44oTJki8e8C43ON8+C60R52w /Irw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=VedUNKuAqOAQscRVi4Bpz6UDa/QlSnbaonu6fZTD3YI=; fh=w6Pv+JxcDkXFk0v7jWeMXwbSdq95HxcwUN8qcjZpW5k=; b=K48ak2j5eTs+emtxlZoEBaAEXTIpAryjTFa+5oAjdOP9crxuVDVkg5tvrE1ydLqWke 0ndp0AjkpyIyTqIlc8AxmW1v3EBQ+d22gTEXaYMa18TYlHvWmitIWJBL+LTl5CutoU9U LWa9TQCANh65/ytk5/RbFoTxKbuiIVFxM6NWGQD2ieuIPT48OZX4RjYmVgtIq8PrgzCs 9qK+hpL0QdvUlkFT0HRz0Mm7hVKTQp9rFzEtEwFaFUhXk/I5oVyqmqgxaehzezTjGKwr LAJhR0IbT0d5QpBjpjO78nOob6QF4KAnIG3K8eGuF9e3BVQFuT6MbbvfDwBhqFFudtvh cDwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HRqqrVKD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a170906344500b00992a83966a8si6909631ejb.83.2023.08.22.08.02.03; Tue, 22 Aug 2023 08:02:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HRqqrVKD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236121AbjHVN2C (ORCPT + 55 others); Tue, 22 Aug 2023 09:28:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236119AbjHVN2B (ORCPT ); Tue, 22 Aug 2023 09:28:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20752CEE for ; Tue, 22 Aug 2023 06:27:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6A53A656B6 for ; Tue, 22 Aug 2023 13:27:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01EE1C433C7; Tue, 22 Aug 2023 13:27:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692710862; bh=H3lL4hRz7BWjICYi+JiYCyi4XJOYiVGuW3F+KajnREo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=HRqqrVKDb+lhDrsTAvfLnbHvNGpIk8nIymTQhmXvBix6Gbi0FCZ4/f1kekLJ4JV7R gwuE+iRfw1WfJXr9X8xjWr9McipV15yxhN8dsbI1bE0mYh+qAf/KHH1yG/EN/08eRf X8tGXEvwtDTvNVHEDf33oBU6EPVDQ0O+CuqMb5kwiQ23ptjSJGG4wgFq3B2sKFqAzG aL2Xf17yrCA6HXXpWXsdWzej79xSbSXi3rC7+KEQ70AJYzZUOoOREuCp58SPxODkJv o0HOgDt/nOE2cfz6TinxF6WVgin+laFENI+m0EIYaXuWfX0Ghc4ZjKcuJy9LUCMWIi FPxxEMlhxCRHQ== From: Kalle Valo To: Jeff Johnson Cc: , linux-wireless@vger.kernel.org Subject: Re: [PATCH v2 2/2] wifi: ath12k: fix undefined behavior with __fls in dp References: <20230821130343.29495-1-quic_hprem@quicinc.com> <20230821130343.29495-3-quic_hprem@quicinc.com> Date: Tue, 22 Aug 2023 16:27:39 +0300 In-Reply-To: (Jeff Johnson's message of "Mon, 21 Aug 2023 08:27:53 -0700") Message-ID: <877cpni4vo.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Jeff Johnson writes: > On 8/21/2023 6:03 AM, Harshitha Prem wrote: >> When max virtual ap interfaces are configured in all the bands >> with ACS and hostapd restart is done every 60s, >> a crash is observed at random times because of handling the >> uninitialized peer fragments with fragment id of packet as 0. >> "__fls" would have an undefined behavior if the argument is passed >> as "0". Hence, added changes to handle the same. >> Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 >> devices") > > this should be in the last section with the Signed-off-by > > see > I can fix that in the pending branch, no need to resend because of this. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches