X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpending-5.10%2F762-net-bridge-switchdev-Refactor-br_switchdev_fdb_notif.patch;h=fbc8342b0e05ef63bb3674818873e24ec687de52;hb=438e88e672559e349d05540db8763a890a931ad7;hp=081d002c7ecad07e0b28db00a3009f1e13660db7;hpb=b974293efa24b8e1bf859b1ed253ca0042ab273e;p=openwrt%2Fstaging%2Fjow.git diff --git a/target/linux/generic/pending-5.10/762-net-bridge-switchdev-Refactor-br_switchdev_fdb_notif.patch b/target/linux/generic/pending-5.10/762-net-bridge-switchdev-Refactor-br_switchdev_fdb_notif.patch index 081d002c7e..fbc8342b0e 100644 --- a/target/linux/generic/pending-5.10/762-net-bridge-switchdev-Refactor-br_switchdev_fdb_notif.patch +++ b/target/linux/generic/pending-5.10/762-net-bridge-switchdev-Refactor-br_switchdev_fdb_notif.patch @@ -15,7 +15,7 @@ Reviewed-by: Vladimir Oltean --- 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 + 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: