summaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-4.9/202-core-linux-support-layerscape.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-12-25 17:56:52 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-12-26 14:02:32 +0100
commit83ce31d3d88429b094f3436446294a17fa7041d4 (patch)
tree9a8c22aeda2cee17ccd52638ff4124d70385ac01 /target/linux/layerscape/patches-4.9/202-core-linux-support-layerscape.patch
parentc280710d7a09fb2fbc14c937a1195917fa19f826 (diff)
downloadopenwrt-83ce31d3d88429b094f3436446294a17fa7041d4.tar.gz
openwrt-83ce31d3d88429b094f3436446294a17fa7041d4.tar.bz2
openwrt-83ce31d3d88429b094f3436446294a17fa7041d4.zip
kernel: bump 4.9 to 4.9.207
Refreshed all patches. Compile-tested on: lantiq Runtime-tested on: none Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/layerscape/patches-4.9/202-core-linux-support-layerscape.patch')
-rw-r--r--target/linux/layerscape/patches-4.9/202-core-linux-support-layerscape.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/layerscape/patches-4.9/202-core-linux-support-layerscape.patch b/target/linux/layerscape/patches-4.9/202-core-linux-support-layerscape.patch
index 2ffe1b20f0..aa77780309 100644
--- a/target/linux/layerscape/patches-4.9/202-core-linux-support-layerscape.patch
+++ b/target/linux/layerscape/patches-4.9/202-core-linux-support-layerscape.patch
@@ -365,9 +365,9 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* @type: Interface hardware type
* @hard_header_len: Maximum hardware header length.
* @min_header_len: Minimum hardware header length
-@@ -1738,6 +1740,8 @@ struct net_device {
- unsigned char dma;
-
+@@ -1743,6 +1745,8 @@ struct net_device {
+ * and to use WRITE_ONCE() to annotate the writes.
+ */
unsigned int mtu;
+ unsigned int min_mtu;
+ unsigned int max_mtu;
@@ -421,7 +421,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* These are the defined Ethernet Protocol ID's.
--- a/net/core/dev.c
+++ b/net/core/dev.c
-@@ -6659,9 +6659,18 @@ int dev_set_mtu(struct net_device *dev,
+@@ -6660,9 +6660,18 @@ int dev_set_mtu(struct net_device *dev,
if (new_mtu == dev->mtu)
return 0;