From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46E7A3A718D for ; Thu, 9 Jul 2026 09:41:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783590073; cv=none; b=Tyulnuc35qT8vXdrjRZk7tTlnVB+PzdrvNijMhoiTDDbkoyk1aNMq8BWc77DEkrPSwmWh2oN1Tdt8R1AND3ESs0cczjOj5FmJeq6miyKhngajBx6cfgriBqzKLXWwFQ2PiXF2N3Me37uI1rS3B2bskGC012qDS9bOlTQBiFE5dg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783590073; c=relaxed/simple; bh=/8dM9Z/CoF2L+7WNN7ITyoWlNjxyJTQlQwpQFvzkRD4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=W8rGYMBzPJrEKlxkZgzAZqCMQFWAM0a850CyKvH8eq0H6xmmHlL7AA1uEvkjJXR529o2MewTS6LLFvvOGxSPVsPtBkM1XrLq2aNvgVgFnUHWg+iJS6SJdftN6xrAyCJTsf//Rc5pQsFUw1SuqnbWAZ+rW3TSMtGO38LjVkKCIV0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=blackwall.org; spf=none smtp.mailfrom=blackwall.org; dkim=pass (2048-bit key) header.d=blackwall.org header.i=@blackwall.org header.b=bHlLYMlA; arc=none smtp.client-ip=209.85.221.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=blackwall.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=blackwall.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=blackwall.org header.i=@blackwall.org header.b="bHlLYMlA" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-47d70879764so1149193f8f.2 for ; Thu, 09 Jul 2026 02:41:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackwall.org; s=google; t=1783590071; x=1784194871; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=dpTA2UFoD8jIxn6LzSQQQ69wwcU0vV5c/nqe3IqCP2Q=; b=bHlLYMlA01yrqUn3lbkHsAWJZqpwk1UZDwK8Bw5YvT6lxRpIp0fpuLQrnCwIPH6lfh ovPDY6HKKTQwYLOyk2BKxioyQi/cplgljqxi5Ruoai5QrO2GfBX2V3w3SpvuHtgRsnCG G2evJzQRqm4J7HeC0/AuDNfGuPhgdxYj8kogvU09jnds9i6gTmnAR13TS9zm7v3q1l3o 4fhFmnaDnxeyENix52Yi7W2RmJDLhwLv4ztwhuGJ3SA6OkVmqViUi8oCC1KeBlfxMZOf PiwPF3F2YRa2WVzoBX61C+/ydkBUEUb+wth9WphBgpkdBG9kup0JiY30TUpHKN+jIKIZ A5Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783590071; x=1784194871; h=content-transfer-encoding:content-type:in-reply-to:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=dpTA2UFoD8jIxn6LzSQQQ69wwcU0vV5c/nqe3IqCP2Q=; b=F3ewENbsTiBfHH/5Y5WkygMU7qe1ou6wm8W3rLse+lPUczcjsGo7sXOKrIwMhd2jaY w3F2ebFx9PHdcqXsVavkPaQYqC4IkI+B8cS/Db5wF37LDDzNMzxH6PQVJgnR1F4Cd2Ph HMyEOiI/UL93xlvAME5qNCJgaqQa3YJL1U2ZCxYpclTBhMsqhJpkI+emnLF1TtcnFWoe 4pwmxtiEKfi5qiIOeFTdWBjw2GrSEhqP4roZM5ZR1ucRj7NfeYgEvwyDiHrGdT8Zg9bH xFkN3JqnlDi3creRCS9RkUmP7HPDWnolVvwyNDGZmgmZIVUgi7zJ9KoCPjjqMUQFXQpy Fvmg== X-Gm-Message-State: AOJu0YxQWOniWCO8zi1YpJF2ae3sr2x7UBEhj9tB9HVO5eN8lz3cT1u4 17HAa7vLR7T8jbROjBxqhZc/qjzYIgU3z2UDwIJosxIe1CZT8GRBiuAJimQ8FcM2J8o= X-Gm-Gg: AfdE7cm7mL3hRdUchvqSCkzJfX3qS10U2j27s1AUZ6LBUP0bkrMq2Vki6Q3TYh4jlM1 aLgiu20mRKTSugxcwZeiVgvGNFTLTqxC38Gjm/ED+vtMzFOkpI6x0wFQ26Rqk7p1HpHmgGilE3g ZD0zIuubd1Zbd7qNgrVwjwrAeMerWtETOlqATUL7fQCqGcRMZgrpBiBlegNfqWzrNsDdzUaPatF b+6l5DSpn8ysj50Zck8AiD6kLWIoQlPHAi/mOYN3998uVwrtuUBnDn91Nhvn6p8bpSfSB9muG9H zNPhaJtvQJBT/pfxcORBAsjE7VE/IGKb9OsC1pqVHIFYNa1chRpLhnvoWeV8CK3BotjRasPPxKw g6oeaPzb4XB9qjQIc0T0kpeyidUNaLQ+4sCEz0cW5UfLDpHpcRrMTVsG3z6ok1A1FAAqKnI2jYa nkkjkNGAOHhUwfPPt4KzafFiZAcxcwK9KQD0BPcI2kWG8BJMoSLpzCgA== X-Received: by 2002:a05:6000:2407:b0:475:f100:3604 with SMTP id ffacd0b85a97d-47df081ba52mr7354428f8f.51.1783590070132; Thu, 09 Jul 2026 02:41:10 -0700 (PDT) Received: from [192.168.0.161] (78-154-15-182.ip.btc-net.bg. [78.154.15.182]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47a9de1d8f1sm50701835f8f.3.2026.07.09.02.41.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jul 2026 02:41:09 -0700 (PDT) Message-ID: Date: Thu, 9 Jul 2026 12:41:08 +0300 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v12 nf-next 1/7] bridge: Add filling forward path from port to port Content-Language: en-US, bg To: Eric Woudstra , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Pablo Neira Ayuso , Florian Westphal , Phil Sutter , Ido Schimmel , Kuniyuki Iwashima , Stanislav Fomichev , Samiullah Khawaja , Hangbin Liu , Krishna Kumar , Martin Karsten Cc: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, bridge@lists.linux.dev References: <20260707091045.967678-1-ericwouds@gmail.com> <20260707091045.967678-2-ericwouds@gmail.com> From: Nikolay Aleksandrov In-Reply-To: <20260707091045.967678-2-ericwouds@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 07/07/2026 12:10, Eric Woudstra wrote: > If a port is passed as argument instead of the master, then: > > At br_fill_forward_path(): find the master and use it to fill the > forward path. > > At br_vlan_fill_forward_path_pvid(): lookup vlan group from port > instead. > > Acked-by: Nikolay Aleksandrov > Signed-off-by: Eric Woudstra > --- > net/bridge/br_device.c | 19 ++++++++++++++----- > net/bridge/br_private.h | 2 ++ > net/bridge/br_vlan.c | 6 +++++- > 3 files changed, 21 insertions(+), 6 deletions(-) > Just FYI please see my reply [1] to Pablo's email about this patch. I think there might be a problem that needs to be fixed. Cheers, Nik [1] https://lore.kernel.org/netdev/b0774436-bc41-462f-820b-6a037b6082bb@blackwall.org/T/#mfbfb071107713d420bf26c060b1b980b270ab172