From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16F9A21CC48 for ; Sun, 20 Jul 2025 16:55:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753030520; cv=none; b=g1SVr3hgsr7yL7I7R5FaW9JePTVIKsltOTfV5TARtt5XavqymzYLGNtgG6ta4gHUbcMzCOm+gsaPZ0kMRTL4ndMZ1kHaHzYUDfxfvzob7sZxxYyDYHf0rN84hO+2YHi1VmJoFAgENcb5uoNBnoHd3jqTBdmG6Aby7P0Stub1NCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753030520; c=relaxed/simple; bh=nFhs36PsggzZ2S4l9X3zF8agI99OSEplT6czX5kHmS0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hcJi0jmcyhyESXSuSWdNdLM+RAfpFuXqdIG5C+F/JkXv2ZVL8pt0WewhTx7PZT2vTAd5gQdvKjwR7uRvxegY/hnQ/s4mZ0dNzfiYIOSmD5pkXu1ZNNEvyX69jwBCIH8Uju57NFOXdOqQmOePF/eMbnNOqPCK5TrGaGFD5tgf010= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=ofP0STnR; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="ofP0STnR" Message-ID: <4105903a-470c-4808-b0b8-aa32eb36191d@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1753030504; 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=gNDS5QyE6DXcHr+EMDsjwO4EjpUASLLtOxWcFEtzaAE=; b=ofP0STnR6yKsGLz69L8WJNemTHWD6p+3iwl/GXebUAqJ5MvnbP2Dt8mpy2iQ780326Gyst 1niJnluSQ1kHb7xN0GY4dBJGYV9TgJKCqkZOIABCYLijWYyj2d8RHVkxVcHxNGL6wwqcLz 0HqjIEyyE2tEecS6DWoSUUVwyWlksYg= Date: Mon, 21 Jul 2025 00:54:50 +0800 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next] netfilter: bpf: Disable migrate before bpf_prog run To: Alexei Starovoitov Cc: Pablo Neira Ayuso , Jozsef Kadlecsik , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Alexei Starovoitov , Florian Westphal , netfilter-devel , coreteam@netfilter.org, Network Development , LKML , bpf , syzbot+92c5daf9a23f04ccfc99@syzkaller.appspotmail.com References: <20250718172746.1268813-1-chen.dylane@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Tao Chen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 在 2025/7/19 02:25, Alexei Starovoitov 写道: > On Fri, Jul 18, 2025 at 10:30 AM Tao Chen wrote: >> >> >> The cant_migrate() check in __bpf_prog_run requires to disable >> migrate before running the bpf_prog, it seems that migrate is >> not disabled in the above execution path. > > bpf@vger mailing list exists, so that developers > read it and participate in the community. > > https://lore.kernel.org/bpf/20250717185837.1073456-1-kuniyu@google.com/ > > -- > pw-bot: cr well, since it's already under review, I'm happy to drop my version. Thanks. -- Best Regards Tao Chen