--- zzzz-none-000/linux-4.1.38/net/bridge/br_stp_bpdu.c 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/net/bridge/br_stp_bpdu.c 2020-11-25 10:06:48.000000000 +0000 @@ -81,6 +81,15 @@ if (p->br->stp_enabled != BR_KERNEL_STP) return; +#if defined(CONFIG_BCM_KF_STP_LOOP) && (defined(CONFIG_BCM_FBOND) || defined(CONFIG_BCM_FBOND_MODULE)) + // for debugging purposes only: + if (p->is_bpdu_blocked) { + printk("supressing transmission of config bpdu on port (%s)\n", p->dev->name); + return; + } +#endif + + buf[0] = 0; buf[1] = 0; buf[2] = 0; @@ -126,6 +135,14 @@ if (p->br->stp_enabled != BR_KERNEL_STP) return; +#if defined(CONFIG_BCM_KF_STP_LOOP) && (defined(CONFIG_BCM_FBOND) || defined(CONFIG_BCM_FBOND_MODULE)) + // for debugging purposes only: + if (p->is_bpdu_blocked) { + printk("supressing transmission of tcn bpdu on port (%s)\n", p->dev->name); + return; + } +#endif + buf[0] = 0; buf[1] = 0; buf[2] = 0;