hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/net/bridge/br_if.c
....@@ -157,8 +157,9 @@
157157 * This lets us disable promiscuous mode and write
158158 * this config to hw.
159159 */
160
- if (br->auto_cnt == 0 ||
161
- (br->auto_cnt == 1 && br_auto_port(p)))
160
+ if ((p->dev->priv_flags & IFF_UNICAST_FLT) &&
161
+ (br->auto_cnt == 0 ||
162
+ (br->auto_cnt == 1 && br_auto_port(p))))
162163 br_port_clear_promisc(p);
163164 else
164165 br_port_set_promisc(p);