1. 10 8月, 2021 5 次提交
  2. 09 8月, 2021 20 次提交
    • L
      devlink: Fix port_type_set function pointer check · 2a2b6e36
      Leon Romanovsky 提交于
      Fix a typo when checking existence of port_type_set function pointer.
      
      Fixes: 82564f6c ("devlink: Simplify devlink port API calls")
      Reported-by: Nkernel test robot <lkp@intel.com>
      Signed-off-by: NLeon Romanovsky <leonro@nvidia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2a2b6e36
    • J
      net: fec: fix build error for ARCH m68k · e08d6d42
      Joakim Zhang 提交于
      reproduce:
      	wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
      	chmod +x ~/bin/make.cross
      	make.cross ARCH=m68k  m5272c3_defconfig
      	make.cross ARCH=m68k
      
         drivers/net/ethernet/freescale/fec_main.c: In function 'fec_enet_eee_mode_set':
      >> drivers/net/ethernet/freescale/fec_main.c:2758:33: error: 'FEC_LPI_SLEEP' undeclared (first use in this function); did you mean 'FEC_ECR_SLEEP'?
          2758 |  writel(sleep_cycle, fep->hwp + FEC_LPI_SLEEP);
               |                                 ^~~~~~~~~~~~~
         arch/m68k/include/asm/io_no.h:25:66: note: in definition of macro '__raw_writel'
            25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
               |                                                                  ^~~~
         drivers/net/ethernet/freescale/fec_main.c:2758:2: note: in expansion of macro 'writel'
          2758 |  writel(sleep_cycle, fep->hwp + FEC_LPI_SLEEP);
               |  ^~~~~~
         drivers/net/ethernet/freescale/fec_main.c:2758:33: note: each undeclared identifier is reported only once for each function it appears in
          2758 |  writel(sleep_cycle, fep->hwp + FEC_LPI_SLEEP);
               |                                 ^~~~~~~~~~~~~
         arch/m68k/include/asm/io_no.h:25:66: note: in definition of macro '__raw_writel'
            25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
               |                                                                  ^~~~
         drivers/net/ethernet/freescale/fec_main.c:2758:2: note: in expansion of macro 'writel'
          2758 |  writel(sleep_cycle, fep->hwp + FEC_LPI_SLEEP);
               |  ^~~~~~
      >> drivers/net/ethernet/freescale/fec_main.c:2759:32: error: 'FEC_LPI_WAKE' undeclared (first use in this function)
          2759 |  writel(wake_cycle, fep->hwp + FEC_LPI_WAKE);
               |                                ^~~~~~~~~~~~
         arch/m68k/include/asm/io_no.h:25:66: note: in definition of macro '__raw_writel'
            25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
               |                                                                  ^~~~
         drivers/net/ethernet/freescale/fec_main.c:2759:2: note: in expansion of macro 'writel'
          2759 |  writel(wake_cycle, fep->hwp + FEC_LPI_WAKE);
               |  ^~~~~~
      
      This patch adds register definition for M5272 platform to pass build.
      
      Fixes: b82f8c3f ("net: fec: add eee mode tx lpi support")
      Reported-by: Nkernel test robot <lkp@intel.com>
      Signed-off-by: NJoakim Zhang <qiangqing.zhang@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e08d6d42
    • S
      net/smc: Allow SMC-D 1MB DMB allocations · 67161779
      Stefan Raspl 提交于
      Commit a3fe3d01 ("net/smc: introduce sg-logic for RMBs") introduced
      a restriction for RMB allocations as used by SMC-R. However, SMC-D does
      not use scatter-gather lists to back its DMBs, yet it was limited by
      this restriction, still.
      This patch exempts SMC, but limits allocations to the maximum RMB/DMB
      size respectively.
      Signed-off-by: NStefan Raspl <raspl@linux.ibm.com>
      Signed-off-by: NGuvenc Gulce <guvenc@linux.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      67161779
    • L
      devlink: Set device as early as possible · 919d13a7
      Leon Romanovsky 提交于
      All kernel devlink implementations call to devlink_alloc() during
      initialization routine for specific device which is used later as
      a parent device for devlink_register().
      
      Such late device assignment causes to the situation which requires us to
      call to device_register() before setting other parameters, but that call
      opens devlink to the world and makes accessible for the netlink users.
      
      Any attempt to move devlink_register() to be the last call generates the
      following error due to access to the devlink->dev pointer.
      
      [    8.758862]  devlink_nl_param_fill+0x2e8/0xe50
      [    8.760305]  devlink_param_notify+0x6d/0x180
      [    8.760435]  __devlink_params_register+0x2f1/0x670
      [    8.760558]  devlink_params_register+0x1e/0x20
      
      The simple change of API to set devlink device in the devlink_alloc()
      instead of devlink_register() fixes all this above and ensures that
      prior to call to devlink_register() everything already set.
      Signed-off-by: NLeon Romanovsky <leonro@nvidia.com>
      Reviewed-by: NJiri Pirko <jiri@nvidia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      919d13a7
    • W
      wwan: mhi: Fix missing spin_lock_init() in mhi_mbim_probe() · 94c0a6fb
      Wei Yongjun 提交于
      The driver allocates the spinlock but not initialize it.
      Use spin_lock_init() on it to initialize it correctly.
      
      Fixes: aa730a99 ("net: wwan: Add MHI MBIM network driver")
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
      Reviewed-by: NSergey Ryazanov <ryazanov.s.a@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      94c0a6fb
    • D
      Merge branch 'iucv-next' · 403fa186
      David S. Miller 提交于
      Karsten Graul says:
      
      ====================
      net/iucv: updates 2021-08-09
      
      Please apply the following iucv patches to netdev's net-next tree.
      
      Remove the usage of register asm statements and replace deprecated
      CPU-hotplug functions with the current version.
      Use use consume_skb() instead of kfree_skb() to avoid flooding
      dropwatch with false-positives, and 2 patches with cleanups.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      403fa186
    • S
      net/iucv: Replace deprecated CPU-hotplug functions. · 8c39ed48
      Sebastian Andrzej Siewior 提交于
      The functions get_online_cpus() and put_online_cpus() have been
      deprecated during the CPU hotplug rework. They map directly to
      cpus_read_lock() and cpus_read_unlock().
      
      Replace deprecated CPU-hotplug functions with the official version.
      The behavior remains unchanged.
      
      Cc: Julian Wiedmann <jwi@linux.ibm.com>
      Cc: Karsten Graul <kgraul@linux.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: linux-s390@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NJulian Wiedmann <jwi@linux.ibm.com>
      Signed-off-by: NKarsten Graul <kgraul@linux.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8c39ed48
    • H
      net/iucv: get rid of register asm usage · 50348fac
      Heiko Carstens 提交于
      Using register asm statements has been proven to be very error prone,
      especially when using code instrumentation where gcc may add function
      calls, which clobbers register contents in an unexpected way.
      
      Therefore get rid of register asm statements in iucv code, even though
      there is currently nothing wrong with it. This way we know for sure
      that the above mentioned bug class won't be introduced here.
      Acked-by: NKarsten Graul <kgraul@linux.ibm.com>
      Signed-off-by: NHeiko Carstens <hca@linux.ibm.com>
      Signed-off-by: NKarsten Graul <kgraul@linux.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      50348fac
    • J
      net/af_iucv: remove wrappers around iucv (de-)registration · ff8424be
      Julian Wiedmann 提交于
      These wrappers are just unnecessary obfuscation.
      Signed-off-by: NJulian Wiedmann <jwi@linux.ibm.com>
      Signed-off-by: NKarsten Graul <kgraul@linux.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ff8424be
    • J
      net/af_iucv: clean up a try_then_request_module() · 4eb9eda6
      Julian Wiedmann 提交于
      Use IS_ENABLED(CONFIG_IUCV) to determine whether the iucv_if symbol
      is available, and let depmod deal with the module dependency.
      
      This was introduced back with commit 6fcd61f7 ("af_iucv: use
      loadable iucv interface"). And to avoid sprinkling IS_ENABLED() over
      all the code, we're keeping the indirection through pr_iucv->...().
      Signed-off-by: NJulian Wiedmann <jwi@linux.ibm.com>
      Signed-off-by: NKarsten Graul <kgraul@linux.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4eb9eda6
    • J
      net/af_iucv: support drop monitoring · 10d6393d
      Julian Wiedmann 提交于
      Change the good paths to use consume_skb() instead of kfree_skb(). This
      avoids flooding dropwatch with false-positives.
      Signed-off-by: NJulian Wiedmann <jwi@linux.ibm.com>
      Signed-off-by: NKarsten Graul <kgraul@linux.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      10d6393d
    • D
      Merge branch 'dsa-fast-ageing' · 00335237
      David S. Miller 提交于
      Vladimir Oltean says:
      
      ====================
      DSA fast ageing fixes/improvements
      
      These are 2 small improvements brought to the DSA fast ageing changes
      merged earlier today.
      
      Patch 1 restores the behavior for DSA drivers that don't implement the
      .port_bridge_flags function (I don't think there is any breakage due
      to the new behavior, but just to be sure). This came as a result of
      Andrew's review.
      
      Patch 2 reduces the number of fast ages of a port from 2 to 1 when it
      leaves a bridge.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      00335237
    • V
      net: dsa: avoid fast ageing twice when port leaves a bridge · bee7c577
      Vladimir Oltean 提交于
      Drivers that support both the toggling of address learning and dynamic
      FDB flushing (mv88e6xxx, b53, sja1105) currently need to fast-age a port
      twice when it leaves a bridge:
      
      - once, when del_nbp() calls br_stp_disable_port() which puts the port
        in the BLOCKING state
      - twice, when dsa_port_switchdev_unsync_attrs() calls
        dsa_port_clear_brport_flags() which disables address learning
      
      The knee-jerk reaction might be to say "dsa_port_clear_brport_flags does
      not need to fast-age the port at all", but the thing is, we still need
      both code paths to flush the dynamic FDB entries in different situations.
      When a DSA switch port leaves a bonding/team interface that is (still) a
      bridge port, no del_nbp() will be called, so we rely on
      dsa_port_clear_brport_flags() function to restore proper standalone port
      functionality with address learning disabled.
      
      So the solution is just to avoid double the work when both code paths
      are called in series. Luckily, DSA already caches the STP port state, so
      we can skip flushing the dynamic FDB when we disable address learning
      and the STP state is one where no address learning takes place at all.
      Under that condition, not flushing the FDB is safe because there is
      supposed to not be any dynamic FDB entry at all (they were flushed
      during the transition towards that state, and none were learned in the
      meanwhile).
      Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bee7c577
    • V
      net: dsa: still fast-age ports joining a bridge if they can't configure learning · a4ffe09f
      Vladimir Oltean 提交于
      Commit 39f32101 ("net: dsa: don't fast age standalone ports")
      assumed that all standalone ports disable address learning, but if the
      switch driver implements .port_fast_age but not .port_bridge_flags (like
      ksz9477, ksz8795, lantiq_gswip, lan9303), then that might not actually
      be true.
      
      So whereas before, the bridge temporarily walking us through the
      BLOCKING STP state meant that the standalone ports had a checkpoint to
      flush their baggage and start fresh when they join a bridge, after that
      commit they no longer do.
      
      Restore the old behavior for these drivers by checking if the switch can
      toggle address learning. If it can't, disregard the "do_fast_age"
      argument and unconditionally perform fast ageing on STP state changes.
      Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a4ffe09f
    • D
      Merge branch 'sja1105-fast-ageing' · cfe908c1
      David S. Miller 提交于
      Vladimir Oltean says:
      
      ====================
      Fast ageing support for SJA1105 DSA driver
      
      While adding support for flushing dynamically learned FDB entries in the
      sja1105 driver, I noticed a few things that could be improved in DSA.
      Most notably, drivers could omit a fast age when address learning is
      turned off, which might mean that ports leaving a bridge and becoming
      standalone could still have FDB entries pointing towards them. Secondly,
      when DSA fast ages a port after the 'learning' flag has been turned off,
      the software bridge still has the dynamically learned 'master' FDB
      entries installed, and those should be deleted too.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cfe908c1
    • V
      net: dsa: sja1105: add FDB fast ageing support · 5126ec72
      Vladimir Oltean 提交于
      Delete the dynamically learned FDB entries when the STP state changes
      and when address learning is disabled.
      
      On sja1105 there is no shorthand SPI command for this, so we need to
      walk through the entire FDB to delete.
      Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5126ec72
    • V
      net: dsa: sja1105: rely on DSA core tracking of port learning state · 5313a37b
      Vladimir Oltean 提交于
      Now that DSA keeps track of the port learning state, it becomes
      superfluous to keep an additional variable with this information in the
      sja1105 driver. Remove it.
      
      The DSA core's learning state is present in struct dsa_port *dp.
      To avoid the antipattern where we iterate through a DSA switch's
      ports and then call dsa_to_port to obtain the "dp" reference (which is
      bad because dsa_to_port iterates through the DSA switch tree once
      again), just iterate through the dst->ports and operate on those
      directly.
      
      The sja1105 had an extra use of priv->learn_ena on non-user ports. DSA
      does not touch the learning state of those ports - drivers are free to
      do what they wish on them. Mark that information with a comment in
      struct dsa_port and let sja1105 set dp->learning for cascade ports.
      Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5313a37b
    • V
      net: dsa: flush the dynamic FDB of the software bridge when fast ageing a port · 9264e4ad
      Vladimir Oltean 提交于
      Currently, when DSA performs fast ageing on a port, 'bridge fdb' shows
      us that the 'self' entries (corresponding to the hardware bridge, as
      printed by dsa_slave_fdb_dump) are deleted, but the 'master' entries
      (corresponding to the software bridge) aren't.
      
      Indeed, searching through the bridge driver, neither the
      brport_attr_learning handler nor the IFLA_BRPORT_LEARNING handler call
      br_fdb_delete_by_port. However, br_stp_disable_port does, which is one
      of the paths which DSA uses to trigger a fast ageing process anyway.
      
      There is, however, one other very promising caller of
      br_fdb_delete_by_port, and that is the bridge driver's handler of the
      SWITCHDEV_FDB_FLUSH_TO_BRIDGE atomic notifier. Currently the s390/qeth
      HiperSockets card driver is the only user of this.
      
      I can't say I understand that driver's architecture or interaction with
      the bridge, but it appears to not be a switchdev driver in the traditional
      sense of the word. Nonetheless, the mechanism it provides is a useful
      way for DSA to express the fact that it performs fast ageing too, in a
      way that does not change the existing behavior for other drivers.
      
      Cc: Alexandra Winter <wintera@linux.ibm.com>
      Cc: Julian Wiedmann <jwi@linux.ibm.com>
      Cc: Roopa Prabhu <roopa@nvidia.com>
      Cc: Nikolay Aleksandrov <nikolay@nvidia.com>
      Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9264e4ad
    • V
      net: dsa: don't fast age bridge ports with learning turned off · 4eab90d9
      Vladimir Oltean 提交于
      On topology changes, stations that were dynamically learned on ports
      that are no longer part of the active topology must be flushed - this is
      described by clause "17.11 Updating learned station location information"
      of IEEE 802.1D-2004.
      
      However, when address learning on the bridge port is turned off in the
      first place, there is nothing to flush, so skip a potentially expensive
      operation.
      
      We can finally do this now since DSA is aware of the learning state of
      its bridged ports.
      Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4eab90d9
    • V
      net: dsa: centralize fast ageing when address learning is turned off · 045c45d1
      Vladimir Oltean 提交于
      Currently DSA leaves it down to device drivers to fast age the FDB on a
      port when address learning is disabled on it. There are 2 reasons for
      doing that in the first place:
      
      - when address learning is disabled by user space, through
        IFLA_BRPORT_LEARNING or the brport_attr_learning sysfs, what user
        space typically wants to achieve is to operate in a mode with no
        dynamic FDB entry on that port. But if the port is already up, some
        addresses might have been already learned on it, and it seems silly to
        wait for 5 minutes for them to expire until something useful can be
        done.
      
      - when a port leaves a bridge and becomes standalone, DSA turns off
        address learning on it. This also has the nice side effect of flushing
        the dynamically learned bridge FDB entries on it, which is a good idea
        because standalone ports should not have bridge FDB entries on them.
      
      We let drivers manage fast ageing under this condition because if DSA
      were to do it, it would need to track each port's learning state, and
      act upon the transition, which it currently doesn't.
      
      But there are 2 reasons why doing it is better after all:
      
      - drivers might get it wrong and not do it (see b53_port_set_learning)
      
      - we would like to flush the dynamic entries from the software bridge
        too, and letting drivers do that would be another pain point
      
      So track the port learning state and trigger a fast age process
      automatically within DSA.
      Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      045c45d1
  3. 08 8月, 2021 3 次提交
    • J
      atm: horizon: Fix spelling mistakes in TX comment · 64ec13ec
      Jun Miao 提交于
      It's "must not", not "musn't", meaning "shall not".
      Let's fix that.
      Suggested-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NJun Miao <jun.miao@windriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64ec13ec
    • L
      devlink: Simplify devlink port API calls · 82564f6c
      Leon Romanovsky 提交于
      Devlink port already has pointer to the devlink instance and all API
      calls that forward these devlink ports to the drivers perform same
      "devlink_port->devlink" assignment before actual call.
      
      This patch removes useless parameter and allows us in the future
      to create specific devlink_port_ops to manage user space access with
      reliable ops assignment.
      Signed-off-by: NLeon Romanovsky <leonro@nvidia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      82564f6c
    • V
      net: dsa: don't fast age standalone ports · 39f32101
      Vladimir Oltean 提交于
      DSA drives the procedure to flush dynamic FDB entries from a port based
      on the change of STP state: whenever we go from a state where address
      learning is enabled (LEARNING, FORWARDING) to a state where it isn't
      (LISTENING, BLOCKING, DISABLED), we need to flush the existing dynamic
      entries.
      
      However, there are cases when this is not needed. Internally, when a
      DSA switch interface is not under a bridge, DSA still keeps it in the
      "FORWARDING" STP state. And when that interface joins a bridge, the
      bridge will meticulously iterate that port through all STP states,
      starting with BLOCKING and ending with FORWARDING. Because there is a
      state transition from the standalone version of FORWARDING into the
      temporary BLOCKING bridge port state, DSA calls the fast age procedure.
      
      Since commit 5e38c158 ("net: dsa: configure better brport flags when
      ports leave the bridge"), DSA asks standalone ports to disable address
      learning. Therefore, there can be no dynamic FDB entries on a standalone
      port. Therefore, it does not make sense to flush dynamic FDB entries on
      one.
      Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      39f32101
  4. 07 8月, 2021 9 次提交
  5. 06 8月, 2021 3 次提交
    • D
      net: dsa: mt7530: drop untagged frames on VLAN-aware ports without PVID · 8fbebef8
      DENG Qingfang 提交于
      The driver currently still accepts untagged frames on VLAN-aware ports
      without PVID. Use PVC.ACC_FRM to drop untagged frames in that case.
      Signed-off-by: NDENG Qingfang <dqfext@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8fbebef8
    • D
      Merge branch 'dsa-cpu-flood' · 9b9311af
      David S. Miller 提交于
      Vladimir Oltean says:
      
      ====================
      Always flood multicast to the DSA CPU port
      
      Discussing with Qingfang, it became obvious that DSA is not prepared to
      disable multicast flooding towards the CPU port under any circumstance
      right now, and this in fact breaks traffic quite blatantly.
      
      This series is a revert done in reverse chronological order. These
      should be propagated to stable trees up to commit a8b659e7 ("net:
      dsa: act as passthrough for bridge port flags") which is in v5.12.
      For older kernels, that commit blocks further backporting, so I need to
      send a modified version of patch 3 separately to Greg after these go
      into "net".
      
      v1->v2: delete unused b53_set_mrouter function prototype
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9b9311af
    • V
      net: dsa: don't disable multicast flooding to the CPU even without an IGMP querier · c73c5708
      Vladimir Oltean 提交于
      Commit 08cc83cc ("net: dsa: add support for BRIDGE_MROUTER
      attribute") added an option for users to turn off multicast flooding
      towards the CPU if they turn off the IGMP querier on a bridge which
      already has enslaved ports (echo 0 > /sys/class/net/br0/bridge/multicast_router).
      
      And commit a8b659e7 ("net: dsa: act as passthrough for bridge port flags")
      simply papered over that issue, because it moved the decision to flood
      the CPU with multicast (or not) from the DSA core down to individual drivers,
      instead of taking a more radical position then.
      
      The truth is that disabling multicast flooding to the CPU is simply
      something we are not prepared to do now, if at all. Some reasons:
      
      - ICMP6 neighbor solicitation messages are unregistered multicast
        packets as far as the bridge is concerned. So if we stop flooding
        multicast, the outside world cannot ping the bridge device's IPv6
        link-local address.
      
      - There might be foreign interfaces bridged with our DSA switch ports
        (sending a packet towards the host does not necessarily equal
        termination, but maybe software forwarding). So if there is no one
        interested in that multicast traffic in the local network stack, that
        doesn't mean nobody is.
      
      - PTP over L4 (IPv4, IPv6) is multicast, but is unregistered as far as
        the bridge is concerned. This should reach the CPU port.
      
      - The switch driver might not do FDB partitioning. And since we don't
        even bother to do more fine-grained flood disabling (such as "disable
        flooding _from_port_N_ towards the CPU port" as opposed to "disable
        flooding _from_any_port_ towards the CPU port"), this breaks standalone
        ports, or even multiple bridges where one has an IGMP querier and one
        doesn't.
      
      Reverting the logic makes all of the above work.
      
      Fixes: a8b659e7 ("net: dsa: act as passthrough for bridge port flags")
      Fixes: 08cc83cc ("net: dsa: add support for BRIDGE_MROUTER attribute")
      Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c73c5708