rtl83xx: fix STP by trapping BPDUs
authorRudolf Vesely <i@rudolfvesely.com>
Mon, 2 Oct 2023 06:51:19 +0000 (06:51 +0000)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 4 Oct 2023 12:18:25 +0000 (14:18 +0200)
commit41fcc617f94601072d304f2f68e12cf1dd058707
treeeecc9aca9e4682b0b9e80675b82a310753a9db22
parentb40c0b54bde81243974cada51cb9a44736c773b3
rtl83xx: fix STP by trapping BPDUs

Fix Spanning Tree Protocol (STP) by changing COPY2CPU which currently
makes switch to ignore Bridge Protocol Data Units (BPDUs).

Tested on Zyxel GS1900-8, 24 and 48.

Signed-off-by: Rudolf Vesely <i@rudolfvesely.com>
[ improve commit description and add new line in different sections ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/dsa.c