From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 F2B44C433EF for ; Fri, 10 Jun 2022 20:34:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350713AbiFJUec (ORCPT ); Fri, 10 Jun 2022 16:34:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350542AbiFJUea (ORCPT ); Fri, 10 Jun 2022 16:34:30 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D6F06302893 for ; Fri, 10 Jun 2022 13:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654893264; 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=D+aGFkn3MMYrpYUMA1fpcNyVhojWLAMYD9npxZIcNjY=; b=W8OedNt+DDdgc6CaLyHJOnZ7x5YMnS0MKw+Dors8ikWUBz2hx/8n3ws6IXLYgMt2+lLRDT 5KiC8Xegd2yrDWHtV9pfAdN1Kay8qNYKNOAUTcqYkbhy4dR5zulf8ob5WTOXNjjcVzmNRC qNuWR0JLP64b0IfJnJIqaOymznRKrjk= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-656-9Afl7TW6Pm-OOFaa2FYTng-1; Fri, 10 Jun 2022 16:34:23 -0400 X-MC-Unique: 9Afl7TW6Pm-OOFaa2FYTng-1 Received: by mail-ed1-f72.google.com with SMTP id g8-20020a056402090800b00433940d207eso194345edz.1 for ; Fri, 10 Jun 2022 13:34:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=D+aGFkn3MMYrpYUMA1fpcNyVhojWLAMYD9npxZIcNjY=; b=6zXSe0kfL7fOwXb1bKbBb6PyvB4jOps+XOQamBy8BMmWlaXTHx/UHazH0odxLOrS4f hWWJED3QoZUsQpGJipbj/2yhUT5xNqe8vAMXAOkpr255bV/5tpOjJc5DmxWLUCkvg+zQ xg3yb5a4Dg34mxDK58w1Uezy9PC2i2agmSnKxrR/gFbYmIx33a8LPj5h4h6/WVBjjCw3 0uGGglAVggsqF9tHT2Nfr0JRcgpWnJ0wQvfLRbAhdRcNC1sOct2ooMwfm42HiKZW4Dd8 8L3Lk9j4DuC8UQ4/3C7GcRIOUdc3ezognTmxsapwdYBYZVLX/SeMKnYfF2p9GNLZ/0RK tJ6Q== X-Gm-Message-State: AOAM530MesHBkK0EILAu2/zb5LEs43XvqWhQhd7sZnnIzi8TOPX/UH6l lXFbSLvEfoLy3D7MwW91Jag/xrCEjBTp01r+N1m7mqz8HhBXitk07OLtrVh+h6+wQbNAbQAifwa LZ32/ztvUnkLNh8SJ X-Received: by 2002:a17:906:6a23:b0:711:ea9b:89ba with SMTP id qw35-20020a1709066a2300b00711ea9b89bamr16479294ejc.740.1654893262636; Fri, 10 Jun 2022 13:34:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy54XjL5JCCSDth3af7e2nucI8bVR0HXVWY21qrdLfe3Lb/fYbqAbb0m4MQ/MCGGL7tfpObLA== X-Received: by 2002:a17:906:6a23:b0:711:ea9b:89ba with SMTP id qw35-20020a1709066a2300b00711ea9b89bamr16479269ejc.740.1654893262291; Fri, 10 Jun 2022 13:34:22 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id jw15-20020a17090776af00b006fec9cf9237sm29367ejc.130.2022.06.10.13.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 13:34:21 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 8E880405EFB; Fri, 10 Jun 2022 22:34:20 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Zhengchao Shao , bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, davem@davemloft.net, kuba@kernel.org, hawk@kernel.org, john.fastabend@gmail.com, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, kpsingh@kernel.org Cc: weiyongjun1@huawei.com, shaozhengchao@huawei.com, yuehaibing@huawei.com Subject: Re: [PATCH v6,bpf-next] samples/bpf: check detach prog exist or not in xdp_fwd In-Reply-To: <20220606005425.261967-1-shaozhengchao@huawei.com> References: <20220606005425.261967-1-shaozhengchao@huawei.com> X-Clacks-Overhead: GNU Terry Pratchett Date: Fri, 10 Jun 2022 22:34:20 +0200 Message-ID: <87edzw2r77.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Zhengchao Shao writes: > Before detach the prog, we should check detach prog exist or not. > > Signed-off-by: Zhengchao Shao LGTM! Reviewed-by: Toke H=C3=B8iland-J=C3=B8rgensen