kernel: bump 5.10 to 5.10.27
[openwrt/staging/jow.git] / target / linux / generic / pending-5.10 / 762-net-bridge-switchdev-Refactor-br_switchdev_fdb_notif.patch
index 081d002c7ecad07e0b28db00a3009f1e13660db7..fbc8342b0e05ef63bb3674818873e24ec687de52 100644 (file)
@@ -15,7 +15,7 @@ Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
 
 --- a/net/bridge/br_switchdev.c
 +++ b/net/bridge/br_switchdev.c
-@@ -102,46 +102,27 @@ int br_switchdev_set_port_flag(struct ne
+@@ -102,25 +102,16 @@ int br_switchdev_set_port_flag(struct ne
        return 0;
  }
  
@@ -47,6 +47,8 @@ Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
 +
        if (!fdb->dst)
                return;
+       if (test_bit(BR_FDB_LOCAL, &fdb->flags))
+@@ -128,22 +119,12 @@ br_switchdev_fdb_notify(const struct net
  
        switch (type) {
        case RTM_DELNEIGH: