Skip to content

enable locked port feature with learning

Hans Schultz bridge linux-kselftest lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1net: bridge: ensure that multicast packets cannot unlock a locked portnet/bridge/br_input.c+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Bridge] [PATCH net-next v1 0/1] enable locked port feature with learning

This patch is related to the patch set "Add support for locked bridge ports (for 802.1X)"

This patch makes the locked port feature work with learning turned on, which is enabled with the command:

bridge link set dev DEV learning on

Without this patch, multicast packets like EAPOL packets will create a fdb entry when ingressing on a locked port with learning turned on, thus unintentionally opening up the port for traffic for the said MAC.

Some switchcore features like Mac-Auth and refreshing of FDB entries, require learning enables on some switchcores, f.ex. the mv88e6xxx family. Other features may apply too.

Since many switchcores trap or mirror various multicast packets to the CPU, they will unintentionally unlock the port for the SA mac in question unless prevented by this patch.

Hans Schultz (1):
net: bridge: ensure that multicast packets cannot unlock a locked port

 net/bridge/br_input.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.30.2