Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3811797rwd; Mon, 22 May 2023 21:36:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4eIEESW3Pg/2F0yNHHtqCWi929HtSm4yC8/RSuGos5rVIDO9jGaJT/p7Yk0amBhMnHvDbq X-Received: by 2002:a17:90a:5b10:b0:24e:272:2469 with SMTP id o16-20020a17090a5b1000b0024e02722469mr11188881pji.18.1684816590353; Mon, 22 May 2023 21:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684816590; cv=none; d=google.com; s=arc-20160816; b=hsfEjlETaR/sc608OtqwGNu6xsC0Dhp7Q0c80oT2RF8oIH/f4DfycUPK4K9iEv4gHj lAqBz4YQtaPjkKavVlw/Khr2ah3jBbVc0cejxxOztISVcwRTiy47+wDhROCh5Ggsank7 BLmc60wtecVQkUmXhV9OqBNGhpx53vjyeI8TzFuHyofc2kkSNO2kbGZVJVhURaNNv5P2 W1zWTWT8Zxltz9N7mqFH8v84PACif6fCvAoGCEUCilbkPgCH6ctRVVt1dkOxHS7N5ugz hxskN/y+yHM24f8SLfFtCUVLLTgHVRv6Mgr7Y6cLHGWaga+rqT+ne8C1p2M4TJnjMzEp IgWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:mime-version:date :dkim-signature:message-id; bh=pJXGcOSTog9gvgxkbKUXqU+fyEolnGD+CeGlDmRt/xg=; b=Sl1gdVFZxtIQvMomsE2qCrGFe0vy0l1xPEsPnknIx9nbyjrCDqE8l4Up3bhQ3HjZDM gqiwGa2XnfloCDZATo9jxfr9cm7B+3EtGbgs0iBycBzsyn0m6RgYHwImZWERDtY2OZL1 bIHO0N48FbRMTl0Q/9DsSiepaFvNri0f3WTrgfwd/EK08sll7XwQkn4GOMQ8gDwSkhDJ hA2Jk3tYzdyDG6OAhUqhoniav3Dtd2UPB0MbjLwMMY1mVhER8ToIE0i8RbBpEyZOyA+5 Bbu9HmgprLNa4HpBo055jcFqd8FxmyoyTpt6EBOytchK44sYbJXUAQ4yPmrWEMLwUwod Xm3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=XX9ypBxk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p2-20020a17090a680200b0024e12c5724esi722083pjj.40.2023.05.22.21.36.15; Mon, 22 May 2023 21:36:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linux.dev header.s=key1 header.b=XX9ypBxk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230474AbjEWEKh (ORCPT + 99 others); Tue, 23 May 2023 00:10:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjEWEKd (ORCPT ); Tue, 23 May 2023 00:10:33 -0400 Received: from out-39.mta1.migadu.com (out-39.mta1.migadu.com [IPv6:2001:41d0:203:375::27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0CE490 for ; Mon, 22 May 2023 21:10:31 -0700 (PDT) Message-ID: <0d515e17-5386-61ba-8278-500620969497@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1684815029; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pJXGcOSTog9gvgxkbKUXqU+fyEolnGD+CeGlDmRt/xg=; b=XX9ypBxkP96DK4BO0w7PU9i5wbLDn9jXRA5EdXXILcbxEwGsowHmXEExAPZFM6VjKNmUm1 mR5JTF+qVdYe4zf7Va/KHqFp3V1Sex70vtlAIneM9edUyM5QN3MZImqU7KS1UbhKo3jl9m 23nV26/ebqtfZ/o+RFBM1aJstaEVvGs= Date: Tue, 23 May 2023 12:10:26 +0800 MIME-Version: 1.0 Subject: Re: [syzbot] [rdma?] INFO: trying to register non-static key in skb_dequeue (2) Content-Language: en-US To: Zhu Yanjun Cc: syzbot , jgg@ziepe.ca, leon@kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com References: <000000000000a589d005fc52ee2d@google.com> <13528f21-0f36-4fa2-d34f-eecee6720bc1@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Guoqing Jiang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-kernel@vger.kernel.org On 5/23/23 12:02, Zhu Yanjun wrote: > On Tue, May 23, 2023 at 11:47 AM Zhu Yanjun wrote: >> On Tue, May 23, 2023 at 10:26 AM Guoqing Jiang wrote: >>> >>> >>> On 5/23/23 10:13, syzbot wrote: >>>> Hello, >>>> >>>> syzbot tried to test the proposed patch but the build/boot failed: >>>> >>>> failed to apply patch: >>>> checking file drivers/infiniband/sw/rxe/rxe_qp.c >>>> patch: **** unexpected end of file in patch >> This is not the root cause. The fix is not good. > This problem is about "INFO: trying to register non-static key. The > code is fine but needs lockdep annotation, or maybe" Which is caused by  "skb_queue_head_init(&qp->resp_pkts)" is not called given rxe_qp_init_resp returns error, but the cleanup still trigger the chain. rxe_qp_do_cleanup -> rxe_completer -> drain_resp_pkts -> skb_dequeue(&qp->resp_pkts) But I might misunderstood it ... Thanks, Guoqing