]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Nov 2018 19:25:18 +0000 (11:25 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Nov 2018 19:25:18 +0000 (11:25 -0800)
queue-4.14/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch [deleted file]
queue-4.14/series
queue-4.18/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch [deleted file]
queue-4.18/series
queue-4.19/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch [deleted file]
queue-4.19/series
queue-4.9/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch [deleted file]
queue-4.9/series

diff --git a/queue-4.14/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch b/queue-4.14/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch
deleted file mode 100644 (file)
index 187fe10..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From foo@baz Sat Nov 10 11:17:18 PST 2018
-From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-Date: Mon, 22 Oct 2018 21:51:36 +0300
-Subject: net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode
-
-From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-
-[ Upstream commit 9737cc99dd14b5b8b9d267618a6061feade8ea68 ]
-
-After flushing all mcast entries from the table, the ones contained in
-mc list of ndev are not restored when promisc mode is toggled off,
-because they are considered as synched with ALE, thus, in order to
-restore them after promisc mode - reset syncing info. This fix
-touches only switch mode devices, including single port boards
-like Beagle Bone.
-
-Fixes: commit 5da1948969bc
-("net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode update")
-
-Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/net/ethernet/ti/cpsw.c |    1 +
- 1 file changed, 1 insertion(+)
-
---- a/drivers/net/ethernet/ti/cpsw.c
-+++ b/drivers/net/ethernet/ti/cpsw.c
-@@ -601,6 +601,7 @@ static void cpsw_set_promiscious(struct
-                       /* Clear all mcast from ALE */
-                       cpsw_ale_flush_multicast(ale, ALE_ALL_PORTS, -1);
-+                      __dev_mc_unsync(ndev, NULL);
-                       /* Flood All Unicast Packets to Host port */
-                       cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 1);
index e7d9c95c177a98b862505b0db523217b7e7ca3fc..401ef5cc7406fa8b82398a4d77b80c1ddc74fcf2 100644 (file)
@@ -36,7 +36,6 @@ x86-fpu-remove-second-definition-of-fpu-in-__fpu__restore_sig.patch
 net-qla3xxx-remove-overflowing-shift-statement.patch
 selftests-ftrace-add-synthetic-event-syntax-testcase.patch
 i2c-rcar-cleanup-dma-for-all-kinds-of-failure.patch
-net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch
 locking-lockdep-fix-debug_locks-off-performance-problem.patch
 ataflop-fix-error-handling-during-setup.patch
 swim-fix-cleanup-on-setup-error.patch
diff --git a/queue-4.18/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch b/queue-4.18/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch
deleted file mode 100644 (file)
index 368ce12..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From foo@baz Sat Nov 10 10:48:43 PST 2018
-From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-Date: Mon, 22 Oct 2018 21:51:36 +0300
-Subject: net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode
-
-From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-
-[ Upstream commit 9737cc99dd14b5b8b9d267618a6061feade8ea68 ]
-
-After flushing all mcast entries from the table, the ones contained in
-mc list of ndev are not restored when promisc mode is toggled off,
-because they are considered as synched with ALE, thus, in order to
-restore them after promisc mode - reset syncing info. This fix
-touches only switch mode devices, including single port boards
-like Beagle Bone.
-
-Fixes: commit 5da1948969bc
-("net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode update")
-
-Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/net/ethernet/ti/cpsw.c |    1 +
- 1 file changed, 1 insertion(+)
-
---- a/drivers/net/ethernet/ti/cpsw.c
-+++ b/drivers/net/ethernet/ti/cpsw.c
-@@ -641,6 +641,7 @@ static void cpsw_set_promiscious(struct
-                       /* Clear all mcast from ALE */
-                       cpsw_ale_flush_multicast(ale, ALE_ALL_PORTS, -1);
-+                      __dev_mc_unsync(ndev, NULL);
-                       /* Flood All Unicast Packets to Host port */
-                       cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 1);
index 4429e26b7b841fbb6fe4e13f0d054f16b3a25097..95df47262a0841ac2fffcb499d2684f4de32ddf7 100644 (file)
@@ -62,7 +62,6 @@ drm-get-ref-on-crtc-commit-object-when-waiting-for-flip_done.patch
 selftests-ftrace-add-synthetic-event-syntax-testcase.patch
 i2c-rcar-cleanup-dma-for-all-kinds-of-failure.patch
 net-socionext-reset-tx-queue-in-ndo_stop.patch
-net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch
 locking-lockdep-fix-debug_locks-off-performance-problem.patch
 netfilter-xt_nat-fix-dnat-target-for-shifted-portmap-ranges.patch
 ataflop-fix-error-handling-during-setup.patch
diff --git a/queue-4.19/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch b/queue-4.19/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch
deleted file mode 100644 (file)
index 15610c2..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From foo@baz Sat Nov 10 10:51:03 PST 2018
-From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-Date: Mon, 22 Oct 2018 21:51:36 +0300
-Subject: net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode
-
-From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-
-[ Upstream commit 9737cc99dd14b5b8b9d267618a6061feade8ea68 ]
-
-After flushing all mcast entries from the table, the ones contained in
-mc list of ndev are not restored when promisc mode is toggled off,
-because they are considered as synched with ALE, thus, in order to
-restore them after promisc mode - reset syncing info. This fix
-touches only switch mode devices, including single port boards
-like Beagle Bone.
-
-Fixes: commit 5da1948969bc
-("net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode update")
-
-Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/net/ethernet/ti/cpsw.c |    1 +
- 1 file changed, 1 insertion(+)
-
---- a/drivers/net/ethernet/ti/cpsw.c
-+++ b/drivers/net/ethernet/ti/cpsw.c
-@@ -642,6 +642,7 @@ static void cpsw_set_promiscious(struct
-                       /* Clear all mcast from ALE */
-                       cpsw_ale_flush_multicast(ale, ALE_ALL_PORTS, -1);
-+                      __dev_mc_unsync(ndev, NULL);
-                       /* Flood All Unicast Packets to Host port */
-                       cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 1);
index 6dcfdc35f61ddbbfb853bb1a779f8e43703003ac..be9549d50c625cebc8993ba30395c74e648b9da1 100644 (file)
@@ -46,7 +46,6 @@ x86-mm-pat-disable-preemption-around-__flush_tlb_all.patch
 x86-numa_emulation-fix-uniform-split-numa-emulation.patch
 arm-dts-exynos-disable-pull-control-for-max8997-interrupts-on-origen.patch
 net-socionext-reset-tx-queue-in-ndo_stop.patch
-net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch
 net-loopback-clear-skb-tstamp-before-netif_rx.patch
 locking-lockdep-fix-debug_locks-off-performance-problem.patch
 netfilter-xt_nat-fix-dnat-target-for-shifted-portmap-ranges.patch
diff --git a/queue-4.9/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch b/queue-4.9/net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch
deleted file mode 100644 (file)
index 7672570..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From foo@baz Sat Nov 10 11:24:34 PST 2018
-From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-Date: Mon, 22 Oct 2018 21:51:36 +0300
-Subject: net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode
-
-From: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-
-[ Upstream commit 9737cc99dd14b5b8b9d267618a6061feade8ea68 ]
-
-After flushing all mcast entries from the table, the ones contained in
-mc list of ndev are not restored when promisc mode is toggled off,
-because they are considered as synched with ALE, thus, in order to
-restore them after promisc mode - reset syncing info. This fix
-touches only switch mode devices, including single port boards
-like Beagle Bone.
-
-Fixes: commit 5da1948969bc
-("net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode update")
-
-Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/net/ethernet/ti/cpsw.c |    1 +
- 1 file changed, 1 insertion(+)
-
---- a/drivers/net/ethernet/ti/cpsw.c
-+++ b/drivers/net/ethernet/ti/cpsw.c
-@@ -590,6 +590,7 @@ static void cpsw_set_promiscious(struct
-                       /* Clear all mcast from ALE */
-                       cpsw_ale_flush_multicast(ale, ALE_ALL_PORTS, -1);
-+                      __dev_mc_unsync(ndev, NULL);
-                       /* Flood All Unicast Packets to Host port */
-                       cpsw_ale_control_set(ale, 0, ALE_P0_UNI_FLOOD, 1);
index e5439d5fb0b1060742394aba90a77962f7334d48..51107e663fa9e7adfeaba6181d43105cdb1566cc 100644 (file)
@@ -24,7 +24,6 @@ x86-fpu-remove-second-definition-of-fpu-in-__fpu__restore_sig.patch
 net-qla3xxx-remove-overflowing-shift-statement.patch
 selftests-ftrace-add-synthetic-event-syntax-testcase.patch
 i2c-rcar-cleanup-dma-for-all-kinds-of-failure.patch
-net-ethernet-ti-cpsw-unsync-mcast-entries-while-switch-promisc-mode.patch
 locking-lockdep-fix-debug_locks-off-performance-problem.patch
 ataflop-fix-error-handling-during-setup.patch
 swim-fix-cleanup-on-setup-error.patch