Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2391628rwa; Mon, 22 Aug 2022 07:04:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR634lRtL7yyajurQYKUakQ7ny8koPvV8iqeJKyDzM2jHRNGmXlT1m+icOMKTRpTNI82Ak+i X-Received: by 2002:a17:907:d0f:b0:731:5c2:a9a5 with SMTP id gn15-20020a1709070d0f00b0073105c2a9a5mr12575973ejc.413.1661177091030; Mon, 22 Aug 2022 07:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661177091; cv=none; d=google.com; s=arc-20160816; b=nU3gQsY1tyUufwRgv7RKBiPbbPCr4eM80Eyp/M26EKyvN0D9h/c37RL4E3XDC6og8A 1VkwzlngYVB4ci2QuzYeeYjFqYfEgszHhJc6kwremfat0Je87UobupIDLuLtJysmPNei bJgLxMK40+POmP5PPHU0+Q7Z3bxJ407g65iVvCu+e5rlwmKG7+NikDqRyEW/HOeM623t 778eVbhOlwTQ84H6b1tO10JJZ/FLejhcLP4uBmC3HLIpgwjb4cULQDJbpF2VEmBEhbri GaDZu67vSW2PgfeLIsUkJT965faOz7/olyuVpL3jrfoi5DGAx/QUVYcnknw//9IgGaZ0 3O3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=3lEomZITbp3d7+6G3a9sOaKmP8wAKd/KHGPtjPveVlA=; b=x25N0RECpUJPrt6cHFZB73Kd8dxcf8/JzzH1i6HTHYbP9EyEVPfS09baI3nWCpAKkn IjlUXiKK6QOnDSDVQa7QobWW/awkgm3bp6cT9zqN8d13NGH4oQvKPMapbrkB3U6rKV9h gK7/AxY+Wxx1FajcjV8njixhBUhTV/MImu/dPJmS7iS5QmNXPe8LmVDFU4V2e9Pqce/p hbM0guPvfavsKOk9Xuy5oNbys302hAwuWWlTneCR5QKEZjC2SpgvTM/nkJuuG+YWMAzl BrulrtR2QWH6QVb//m+Ywbz77cTK17hF+FogQvAYgcZWzmBXp8BwajZKYwe46OCMsIFC kb2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EoviTJwa; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a056402084f00b0043acee93208si10334551edz.319.2022.08.22.07.04.22; Mon, 22 Aug 2022 07:04:51 -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=@gmail.com header.s=20210112 header.b=EoviTJwa; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235445AbiHVNz5 (ORCPT + 99 others); Mon, 22 Aug 2022 09:55:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235484AbiHVNzl (ORCPT ); Mon, 22 Aug 2022 09:55:41 -0400 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD478399F5; Mon, 22 Aug 2022 06:55:39 -0700 (PDT) Received: by mail-il1-x136.google.com with SMTP id q16so5694475ile.1; Mon, 22 Aug 2022 06:55:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=3lEomZITbp3d7+6G3a9sOaKmP8wAKd/KHGPtjPveVlA=; b=EoviTJwakDapKtuM50+1qQHhbvy2oeIqscxwwm2PP5kouzMyMpXHwT9/X19SvmY6a6 kAYewLK+41LhQh4Y+2c2Jw7MKKHmJ9ZNvikk6V4xH58aRNlelqIVK6FEES3gbLflJAuq +Fweb6snMvNwSbj+REwPAERgKgytoo1NW0bNyLjUwr+9JB5ic1TiNzCBu0u4GXHo6o70 EsXcRFgSmk0pppimtawe/g9Wnydo0ZvlJ0oWN7fqEUL5n0JZ+oAwWTBveT0210jiGzxC IJlBVdgoWwJ82DeLU4g5t1AB/pAvXmTAfSfaJmFHIrdS+0tqws+SADijquroonVlwJT1 LVCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=3lEomZITbp3d7+6G3a9sOaKmP8wAKd/KHGPtjPveVlA=; b=HZJLHvs4FZtoJe4/eGSzwZQRAf6jAfkD1D5jr88+x6Tq3pqorh+VS/fsq6yW64tC38 rgnXYc2kf//ndNlip6do1kSy1Ey7LVMhlrfmkNJ42CHNs1oH3dmR4pOqC+tywWaZAdVS iqc8+ib9pW2IU3dM0dMl5G6kstYJgABKBdlSyw0UpWTVmnxNKkm3vwNQ1HNINfOHrtRT Yam940NSdnW81YYuhmlktnJLiSpFzehPqXxjtVB/k8aqwqMAYAMskv26W0eY8zMI3ZV6 PXqkP4zfZaDdpVaAwJd6zlQg3gMM66syBeFpvmdVBpanjI2dyLQ2JVgXYvCVADQVw8In c+XA== X-Gm-Message-State: ACgBeo3mUwRlZvtR2tCit4IQQOUbrOQGGa7yRVbYUL2HmCp56u0oXgVq G/Zy37tZhtW+PwpJ2cd0Z5AfRJCUd7f6T3bOnsg= X-Received: by 2002:a05:6e02:148c:b0:2de:c3b:91d with SMTP id n12-20020a056e02148c00b002de0c3b091dmr10143943ilk.95.1661176539069; Mon, 22 Aug 2022 06:55:39 -0700 (PDT) MIME-Version: 1.0 References: <20220822112952.2961-1-yin31149@gmail.com> <20220822130414.28489-1-yin31149@gmail.com> In-Reply-To: <20220822130414.28489-1-yin31149@gmail.com> From: Khalid Masum Date: Mon, 22 Aug 2022 19:55:27 +0600 Message-ID: Subject: Re: [PATCH] rxrpc: fix bad unlock balance in rxrpc_do_sendmsg To: Hawkins Jiawei Cc: David Howells , Marc Dionne , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "open list:NETWORKING [GENERAL]" , syzkaller-bugs , Linux Kernel Mailing List , syzbot+7f0483225d0c94cb3441@syzkaller.appspotmail.com, Pavel Skripkin , linux-kernel-mentees , linux-afs@lists.infradead.org, Dan Carpenter Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 > > /* > + * @holding_mutex: An indication whether caller can still holds > + * the call->user_mutex when returned to caller. Maybe we can use mutex_is_locked instead of using the holding_mutex parameter to get whether call->user_mutex is still held. https://www.kernel.org/doc/htmldocs/kernel-locking/API-mutex-is-locked.html > + * This argument can be NULL, which will effect nothing. > + * > * Wait for space to appear in the Tx queue or a signal to occur. > */ > thanks, -- Khalid Masum