Re: [PATCH net-next 1/4] net: bridge: Add support for bridge port in locked mode

From: Andrew Lunn
Date: Mon Feb 07 2022 - 09:21:16 EST


> > + if (p->flags & BR_PORT_LOCKED) {
> > + fdb_entry = br_fdb_find_rcu(br, eth_hdr(skb)->h_source, vid);
> > + if (!(fdb_entry && fdb_entry->dst == p))
> > + goto drop;
>
> I'm not familiar with 802.1X so I have some questions:

Me neither.

>
> 1. Do we need to differentiate between no FDB entry and an FDB entry
> pointing to a different port than we expect?

And extending that question, a static vs a dynamic entry?

Andrew