kernel/modules/other/mlxreg: add new package
[openwrt/openwrt.git] / target / linux / generic / backport-5.15 / 765-v5.17-03-net-next-net-dsa-stop-updating-master-MTU-from-master.c.patch
index d1126de5dd077086c7a84f9aa2e869994e5e3be7..6c7aad692885e71d48ae780b1146764145687271 100644 (file)
@@ -37,7 +37,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
 
 --- a/net/dsa/master.c
 +++ b/net/dsa/master.c
-@@ -330,28 +330,13 @@ static const struct attribute_group dsa_
+@@ -329,28 +329,13 @@ static const struct attribute_group dsa_
        .attrs  = dsa_slave_attrs,
  };
  
@@ -67,7 +67,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  
        /* The DSA master must use SET_NETDEV_DEV for this to work. */
        consumer_link = device_link_add(ds->dev, dev->dev.parent,
-@@ -361,13 +346,6 @@ int dsa_master_setup(struct net_device *
+@@ -360,13 +345,6 @@ int dsa_master_setup(struct net_device *
                           "Failed to create a device link to DSA switch %s\n",
                           dev_name(ds->dev));
  
@@ -81,7 +81,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        /* If we use a tagging format that doesn't have an ethertype
         * field, make sure that all packets from this point on get
         * sent to the tag format's receive function.
-@@ -405,7 +383,6 @@ void dsa_master_teardown(struct net_devi
+@@ -404,7 +382,6 @@ void dsa_master_teardown(struct net_devi
        sysfs_remove_group(&dev->dev.kobj, &dsa_group);
        dsa_netdev_ops_set(dev, NULL);
        dsa_master_ethtool_teardown(dev);