diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2020-03-11 07:29:42 +0200 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-03-18 00:12:07 +0000 |
commit | ef88a65e33ea148f907012643cedecfb5c917e0a (patch) | |
tree | b97a44b9cc19345fbf4e429607cc7e22bba0302e /meta-agl-bsp/recipes-kernel/linux/linux-4.14 | |
parent | 30b7d87dbf6dfcdbfcc571c41c3292b32339ae2e (diff) |
linux-agl: add pfifo patchset for fixing CAN failures
Backported upstream patchset to fix CAN failures with SocketCAN
* net: sch_generic: Use pfifo_fast as fallback scheduler for CAN hardware
Additional patchset for 4.14 kernels to bring in needed if_afp.h header
Bug-AGL: SPEC-3171
Change-Id: I1ddb75d1aca64861cfc52f1df4ff810bd0367ab9
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'meta-agl-bsp/recipes-kernel/linux/linux-4.14')
-rw-r--r-- | meta-agl-bsp/recipes-kernel/linux/linux-4.14/net-sch_generic-add-if_afp.h-header-to-get-ARPHRD_CA.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-4.14/net-sch_generic-add-if_afp.h-header-to-get-ARPHRD_CA.patch b/meta-agl-bsp/recipes-kernel/linux/linux-4.14/net-sch_generic-add-if_afp.h-header-to-get-ARPHRD_CA.patch new file mode 100644 index 000000000..7c34fb306 --- /dev/null +++ b/meta-agl-bsp/recipes-kernel/linux/linux-4.14/net-sch_generic-add-if_afp.h-header-to-get-ARPHRD_CA.patch @@ -0,0 +1,25 @@ +From 17d0075d95b5087d5df553444cca390fa479bad9 Mon Sep 17 00:00:00 2001 +From: Matt Ranostay <matt.ranostay@konsulko.com> +Date: Tue, 10 Mar 2020 22:27:28 -0700 +Subject: [PATCH] net: sch_generic: add if_afp.h header to get ARPHRD_CAN macro + +Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> +--- + net/sched/sch_generic.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c +index bf8c81e07c70..1845ef8c7dbd 100644 +--- a/net/sched/sch_generic.c ++++ b/net/sched/sch_generic.c +@@ -25,6 +25,7 @@ + #include <linux/rcupdate.h> + #include <linux/list.h> + #include <linux/slab.h> ++#include <linux/if_arp.h> + #include <linux/if_vlan.h> + #include <net/sch_generic.h> + #include <net/pkt_sched.h> +-- +2.25.0 + |