Re: [Bridge] [PATCH net-next] net: bridge: fdb: eliminate extra port state tests from fast-path

2019-11-04 Thread David Miller
From: Nikolay Aleksandrov Date: Mon, 4 Nov 2019 11:36:51 +0200 > When commit df1c0b8468b3 ("[BRIDGE]: Packets leaking out of > disabled/blocked ports.") introduced the port state tests in > br_fdb_update() it was to avoid learning/refreshing from STP BPDUs, it was > also used to avoid

[Bridge] [PATCH net-next] net: bridge: fdb: eliminate extra port state tests from fast-path

2019-11-04 Thread Nikolay Aleksandrov
When commit df1c0b8468b3 ("[BRIDGE]: Packets leaking out of disabled/blocked ports.") introduced the port state tests in br_fdb_update() it was to avoid learning/refreshing from STP BPDUs, it was also used to avoid learning/refreshing from user-space with NTF_USE. Those two tests are done for