aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/patches-5.4
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-03-26 15:19:42 +0100
committerPetr Štetiar <ynezz@true.cz>2020-03-28 13:03:02 +0100
commit5ecc0cfd6f3da1e8f573024753169aa6f115745e (patch)
tree23aa098938d7a572de3f56bc35661cd5cb2a05aa /target/linux/ipq806x/patches-5.4
parentbf15557f8a85e7ada25074122f4af5bd3a5df697 (diff)
downloadupstream-5ecc0cfd6f3da1e8f573024753169aa6f115745e.tar.gz
upstream-5ecc0cfd6f3da1e8f573024753169aa6f115745e.tar.bz2
upstream-5ecc0cfd6f3da1e8f573024753169aa6f115745e.zip
kernel: bump 5.4 to 5.4.28
Changelog since 5.4.24 mentions CVE-2019-19769, CVE-2020-8648, CVE-2020-8649 and CVE-2020-8647. Removed upstreamed: generic: 507-v5.6-iio-chemical-sps30-fix-missing-triggered-buffer-depe.patch generic: 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch bcm27xx: 950-0435-ASoC-pcm512x-Fix-unbalanced-regulator-enable-call-in.patch ipq806x: 701-stmmac-fix-notifier-registration.patch lantiq: 002-pinctrl-falcon-fix-syntax-error.patch octeontx: 0002-net-thunderx-workaround-BGX-TX-Underflow-issue.patch Run tested: apu2, qemu-x86-64, apalis, a64-olinuxino, nbg6617 Build tested: sunxi/a53, imx6, x86/64, ipq40xx Tested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> [apu2] Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/ipq806x/patches-5.4')
-rw-r--r--target/linux/ipq806x/patches-5.4/701-stmmac-fix-notifier-registration.patch79
1 files changed, 0 insertions, 79 deletions
diff --git a/target/linux/ipq806x/patches-5.4/701-stmmac-fix-notifier-registration.patch b/target/linux/ipq806x/patches-5.4/701-stmmac-fix-notifier-registration.patch
deleted file mode 100644
index 2c25ad33e8..0000000000
--- a/target/linux/ipq806x/patches-5.4/701-stmmac-fix-notifier-registration.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 474a31e13a4e9749fb3ee55794d69d0f17ee0998 Mon Sep 17 00:00:00 2001
-From: Aaro Koskinen <aaro.koskinen@nokia.com>
-Date: Wed, 26 Feb 2020 18:49:01 +0200
-Subject: net: stmmac: fix notifier registration
-
-We cannot register the same netdev notifier multiple times when probing
-stmmac devices. Register the notifier only once in module init, and also
-make debugfs creation/deletion safe against simultaneous notifier call.
-
-Fixes: 481a7d154cbb ("stmmac: debugfs entry name is not be changed when udev rename device name.")
-Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
----
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 13 ++++++++-----
- 1 file changed, 8 insertions(+), 5 deletions(-)
-
-(limited to 'drivers/net/ethernet/stmicro/stmmac')
-
---- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
-+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
-@@ -4208,6 +4208,8 @@ static void stmmac_init_fs(struct net_de
- {
- struct stmmac_priv *priv = netdev_priv(dev);
-
-+ rtnl_lock();
-+
- /* Create per netdev entries */
- priv->dbgfs_dir = debugfs_create_dir(dev->name, stmmac_fs_dir);
-
-@@ -4219,14 +4221,13 @@ static void stmmac_init_fs(struct net_de
- debugfs_create_file("dma_cap", 0444, priv->dbgfs_dir, dev,
- &stmmac_dma_cap_fops);
-
-- register_netdevice_notifier(&stmmac_notifier);
-+ rtnl_unlock();
- }
-
- static void stmmac_exit_fs(struct net_device *dev)
- {
- struct stmmac_priv *priv = netdev_priv(dev);
-
-- unregister_netdevice_notifier(&stmmac_notifier);
- debugfs_remove_recursive(priv->dbgfs_dir);
- }
- #endif /* CONFIG_DEBUG_FS */
-@@ -4728,14 +4729,14 @@ int stmmac_dvr_remove(struct device *dev
-
- netdev_info(priv->dev, "%s: removing driver", __func__);
-
--#ifdef CONFIG_DEBUG_FS
-- stmmac_exit_fs(ndev);
--#endif
- stmmac_stop_all_dma(priv);
-
- stmmac_mac_set(priv, priv->ioaddr, false);
- netif_carrier_off(ndev);
- unregister_netdev(ndev);
-+#ifdef CONFIG_DEBUG_FS
-+ stmmac_exit_fs(ndev);
-+#endif
- phylink_destroy(priv->phylink);
- if (priv->plat->stmmac_rst)
- reset_control_assert(priv->plat->stmmac_rst);
-@@ -4955,6 +4956,7 @@ static int __init stmmac_init(void)
- /* Create debugfs main directory if it doesn't exist yet */
- if (!stmmac_fs_dir)
- stmmac_fs_dir = debugfs_create_dir(STMMAC_RESOURCE_NAME, NULL);
-+ register_netdevice_notifier(&stmmac_notifier);
- #endif
-
- return 0;
-@@ -4963,6 +4965,7 @@ static int __init stmmac_init(void)
- static void __exit stmmac_exit(void)
- {
- #ifdef CONFIG_DEBUG_FS
-+ unregister_netdevice_notifier(&stmmac_notifier);
- debugfs_remove_recursive(stmmac_fs_dir);
- #endif
- }