]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop networking patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Jul 2023 11:51:17 +0000 (13:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Jul 2023 11:51:17 +0000 (13:51 +0200)
queue-6.1/net-ncsi-change-from-ndo_set_mac_address-to-dev_set_mac_address.patch [deleted file]
queue-6.1/series
queue-6.4/net-ncsi-change-from-ndo_set_mac_address-to-dev_set_mac_address.patch [deleted file]
queue-6.4/series

diff --git a/queue-6.1/net-ncsi-change-from-ndo_set_mac_address-to-dev_set_mac_address.patch b/queue-6.1/net-ncsi-change-from-ndo_set_mac_address-to-dev_set_mac_address.patch
deleted file mode 100644 (file)
index 1ffb57b..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-From 790071347a0a1a89e618eedcd51c687ea783aeb3 Mon Sep 17 00:00:00 2001
-From: Ivan Mikhaylov <fr0st61te@gmail.com>
-Date: Wed, 7 Jun 2023 18:17:42 +0300
-Subject: net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
-
-From: Ivan Mikhaylov <fr0st61te@gmail.com>
-
-commit 790071347a0a1a89e618eedcd51c687ea783aeb3 upstream.
-
-Change ndo_set_mac_address to dev_set_mac_address because
-dev_set_mac_address provides a way to notify network layer about MAC
-change. In other case, services may not aware about MAC change and keep
-using old one which set from network adapter driver.
-
-As example, DHCP client from systemd do not update MAC address without
-notification from net subsystem which leads to the problem with acquiring
-the right address from DHCP server.
-
-Fixes: cb10c7c0dfd9e ("net/ncsi: Add NCSI Broadcom OEM command")
-Cc: stable@vger.kernel.org # v6.0+ 2f38e84 net/ncsi: make one oem_gma function for all mfr id
-Signed-off-by: Paul Fertser <fercerpav@gmail.com>
-Signed-off-by: Ivan Mikhaylov <fr0st61te@gmail.com>
-Reviewed-by: Simon Horman <simon.horman@corigine.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- net/ncsi/ncsi-rsp.c |    5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
---- a/net/ncsi/ncsi-rsp.c
-+++ b/net/ncsi/ncsi-rsp.c
-@@ -616,7 +616,6 @@ static int ncsi_rsp_handler_oem_mlx_gma(
- {
-       struct ncsi_dev_priv *ndp = nr->ndp;
-       struct net_device *ndev = ndp->ndev.dev;
--      const struct net_device_ops *ops = ndev->netdev_ops;
-       struct ncsi_rsp_oem_pkt *rsp;
-       struct sockaddr saddr;
-       int ret = 0;
-@@ -630,7 +629,9 @@ static int ncsi_rsp_handler_oem_mlx_gma(
-       /* Set the flag for GMA command which should only be called once */
-       ndp->gma_flag = 1;
--      ret = ops->ndo_set_mac_address(ndev, &saddr);
-+      rtnl_lock();
-+      ret = dev_set_mac_address(ndev, &saddr, NULL);
-+      rtnl_unlock();
-       if (ret < 0)
-               netdev_warn(ndev, "NCSI: 'Writing mac address to device failed\n");
index 5887242dd5e8d348d17dd72028628b7068a64f27..108c1ec957ac1653d0b7b4605056de01f0da8974 100644 (file)
@@ -1,4 +1,3 @@
-net-ncsi-change-from-ndo_set_mac_address-to-dev_set_mac_address.patch
 hid-amd_sfh-rename-the-float32-variable.patch
 hid-amd_sfh-fix-for-shift-out-of-bounds.patch
 net-lan743x-don-t-sleep-in-atomic-context.patch
diff --git a/queue-6.4/net-ncsi-change-from-ndo_set_mac_address-to-dev_set_mac_address.patch b/queue-6.4/net-ncsi-change-from-ndo_set_mac_address-to-dev_set_mac_address.patch
deleted file mode 100644 (file)
index 1ffb57b..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-From 790071347a0a1a89e618eedcd51c687ea783aeb3 Mon Sep 17 00:00:00 2001
-From: Ivan Mikhaylov <fr0st61te@gmail.com>
-Date: Wed, 7 Jun 2023 18:17:42 +0300
-Subject: net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
-
-From: Ivan Mikhaylov <fr0st61te@gmail.com>
-
-commit 790071347a0a1a89e618eedcd51c687ea783aeb3 upstream.
-
-Change ndo_set_mac_address to dev_set_mac_address because
-dev_set_mac_address provides a way to notify network layer about MAC
-change. In other case, services may not aware about MAC change and keep
-using old one which set from network adapter driver.
-
-As example, DHCP client from systemd do not update MAC address without
-notification from net subsystem which leads to the problem with acquiring
-the right address from DHCP server.
-
-Fixes: cb10c7c0dfd9e ("net/ncsi: Add NCSI Broadcom OEM command")
-Cc: stable@vger.kernel.org # v6.0+ 2f38e84 net/ncsi: make one oem_gma function for all mfr id
-Signed-off-by: Paul Fertser <fercerpav@gmail.com>
-Signed-off-by: Ivan Mikhaylov <fr0st61te@gmail.com>
-Reviewed-by: Simon Horman <simon.horman@corigine.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- net/ncsi/ncsi-rsp.c |    5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
---- a/net/ncsi/ncsi-rsp.c
-+++ b/net/ncsi/ncsi-rsp.c
-@@ -616,7 +616,6 @@ static int ncsi_rsp_handler_oem_mlx_gma(
- {
-       struct ncsi_dev_priv *ndp = nr->ndp;
-       struct net_device *ndev = ndp->ndev.dev;
--      const struct net_device_ops *ops = ndev->netdev_ops;
-       struct ncsi_rsp_oem_pkt *rsp;
-       struct sockaddr saddr;
-       int ret = 0;
-@@ -630,7 +629,9 @@ static int ncsi_rsp_handler_oem_mlx_gma(
-       /* Set the flag for GMA command which should only be called once */
-       ndp->gma_flag = 1;
--      ret = ops->ndo_set_mac_address(ndev, &saddr);
-+      rtnl_lock();
-+      ret = dev_set_mac_address(ndev, &saddr, NULL);
-+      rtnl_unlock();
-       if (ret < 0)
-               netdev_warn(ndev, "NCSI: 'Writing mac address to device failed\n");
index 1eb37b4250207af8a0cb87738deb64c9bd954161..1d497434a16fc2cf9dfca58751e5d2155fb37784 100644 (file)
@@ -1,4 +1,3 @@
-net-ncsi-change-from-ndo_set_mac_address-to-dev_set_mac_address.patch
 security-integrity-fix-pointer-to-esl-data-and-its-size-on-pseries.patch
 hid-input-fix-mapping-for-camera-access-keys.patch
 hid-amd_sfh-rename-the-float32-variable.patch