aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-4.4/050-net-mvneta-fix-changing-MTU-when-using-per-cpu-proce.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/patches-4.4/050-net-mvneta-fix-changing-MTU-when-using-per-cpu-proce.patch')
-rw-r--r--target/linux/mvebu/patches-4.4/050-net-mvneta-fix-changing-MTU-when-using-per-cpu-proce.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/mvebu/patches-4.4/050-net-mvneta-fix-changing-MTU-when-using-per-cpu-proce.patch b/target/linux/mvebu/patches-4.4/050-net-mvneta-fix-changing-MTU-when-using-per-cpu-proce.patch
index fdc5663510..bcb0b4b8c7 100644
--- a/target/linux/mvebu/patches-4.4/050-net-mvneta-fix-changing-MTU-when-using-per-cpu-proce.patch
+++ b/target/linux/mvebu/patches-4.4/050-net-mvneta-fix-changing-MTU-when-using-per-cpu-proce.patch
@@ -15,7 +15,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
--- a/drivers/net/ethernet/marvell/mvneta.c
+++ b/drivers/net/ethernet/marvell/mvneta.c
-@@ -3044,6 +3044,20 @@ static int mvneta_check_mtu_valid(struct
+@@ -3045,6 +3045,20 @@ static int mvneta_check_mtu_valid(struct
return mtu;
}
@@ -36,7 +36,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
/* Change the device mtu */
static int mvneta_change_mtu(struct net_device *dev, int mtu)
{
-@@ -3068,6 +3082,7 @@ static int mvneta_change_mtu(struct net_
+@@ -3069,6 +3083,7 @@ static int mvneta_change_mtu(struct net_
* reallocation of the queues
*/
mvneta_stop_dev(pp);
@@ -44,7 +44,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
mvneta_cleanup_txqs(pp);
mvneta_cleanup_rxqs(pp);
-@@ -3091,6 +3106,7 @@ static int mvneta_change_mtu(struct net_
+@@ -3092,6 +3107,7 @@ static int mvneta_change_mtu(struct net_
return ret;
}
@@ -52,7 +52,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
mvneta_start_dev(pp);
mvneta_port_up(pp);
-@@ -3244,20 +3260,6 @@ static void mvneta_mdio_remove(struct mv
+@@ -3245,20 +3261,6 @@ static void mvneta_mdio_remove(struct mv
pp->phy_dev = NULL;
}