diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-3.18/910-kobject_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-3.18/910-kobject_uevent.patch new file mode 100644 index 00000000..f69294b4 --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-3.18/910-kobject_uevent.patch @@ -0,0 +1,21 @@ +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -53,6 +53,18 @@ static const char *kobject_actions[] = { + [KOBJ_OFFLINE] = "offline", + }; + ++u64 uevent_next_seqnum(void) ++{ ++ u64 seq; ++ ++ mutex_lock(&uevent_sock_mutex); ++ seq = ++uevent_seqnum; ++ mutex_unlock(&uevent_sock_mutex); ++ ++ return seq; ++} ++EXPORT_SYMBOL_GPL(uevent_next_seqnum); ++ + /** + * kobject_action_type - translate action string to numeric type + * diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-3.18/911-kobject_add_broadcast_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-3.18/911-kobject_add_broadcast_uevent.patch new file mode 100644 index 00000000..6e4c1402 --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-3.18/911-kobject_add_broadcast_uevent.patch @@ -0,0 +1,65 @@ +--- a/include/linux/kobject.h ++++ b/include/linux/kobject.h +@@ -32,6 +32,8 @@ + #define UEVENT_NUM_ENVP 32 /* number of env pointers */ + #define UEVENT_BUFFER_SIZE 2048 /* buffer for the variables */ + ++struct sk_buff; ++ + #ifdef CONFIG_UEVENT_HELPER + /* path to the userspace helper executed on an event */ + extern char uevent_helper[]; +@@ -221,4 +223,7 @@ int add_uevent_var(struct kobj_uevent_en + int kobject_action_type(const char *buf, size_t count, + enum kobject_action *type); + ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation); ++ + #endif /* _KOBJECT_H_ */ +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -424,6 +424,43 @@ int add_uevent_var(struct kobj_uevent_en + EXPORT_SYMBOL_GPL(add_uevent_var); + + #if defined(CONFIG_NET) ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ struct uevent_sock *ue_sk; ++ int err = 0; ++ ++ /* send netlink message */ ++ mutex_lock(&uevent_sock_mutex); ++ list_for_each_entry(ue_sk, &uevent_sock_list, list) { ++ struct sock *uevent_sock = ue_sk->sk; ++ struct sk_buff *skb2; ++ ++ skb2 = skb_clone(skb, allocation); ++ if (!skb2) ++ break; ++ ++ err = netlink_broadcast(uevent_sock, skb2, pid, group, ++ allocation); ++ if (err) ++ break; ++ } ++ mutex_unlock(&uevent_sock_mutex); ++ ++ kfree_skb(skb); ++ return err; ++} ++#else ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ kfree_skb(skb); ++ return 0; ++} ++#endif ++EXPORT_SYMBOL_GPL(broadcast_uevent); ++ ++#if defined(CONFIG_NET) + static int uevent_net_init(struct net *net) + { + struct uevent_sock *ue_sk; diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.14/910-kobject_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.14/910-kobject_uevent.patch new file mode 100644 index 00000000..113fbb54 --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.14/910-kobject_uevent.patch @@ -0,0 +1,32 @@ +From 0d37e6edc09c99e683dd91ca0e83bbc0df8477b3 Mon Sep 17 00:00:00 2001 +From: Felix Fietkau +Date: Sun, 16 Jul 2017 16:56:10 +0200 +Subject: lib: add uevent_next_seqnum() + +Signed-off-by: Felix Fietkau +--- + include/linux/kobject.h | 5 +++++ + lib/kobject_uevent.c | 37 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 42 insertions(+) + +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -176,6 +176,18 @@ out: + return r; + } + ++u64 uevent_next_seqnum(void) ++{ ++ u64 seq; ++ ++ mutex_lock(&uevent_sock_mutex); ++ seq = ++uevent_seqnum; ++ mutex_unlock(&uevent_sock_mutex); ++ ++ return seq; ++} ++EXPORT_SYMBOL_GPL(uevent_next_seqnum); ++ + /** + * kobject_synth_uevent - send synthetic uevent with arguments + * diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.14/911-kobject_add_broadcast_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.14/911-kobject_add_broadcast_uevent.patch new file mode 100644 index 00000000..19400af1 --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.14/911-kobject_add_broadcast_uevent.patch @@ -0,0 +1,76 @@ +From 0d37e6edc09c99e683dd91ca0e83bbc0df8477b3 Mon Sep 17 00:00:00 2001 +From: Felix Fietkau +Date: Sun, 16 Jul 2017 16:56:10 +0200 +Subject: lib: add uevent_next_seqnum() + +Signed-off-by: Felix Fietkau +--- + include/linux/kobject.h | 5 +++++ + lib/kobject_uevent.c | 37 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 42 insertions(+) + +--- a/include/linux/kobject.h ++++ b/include/linux/kobject.h +@@ -32,6 +32,8 @@ + #define UEVENT_NUM_ENVP 32 /* number of env pointers */ + #define UEVENT_BUFFER_SIZE 2048 /* buffer for the variables */ + ++struct sk_buff; ++ + #ifdef CONFIG_UEVENT_HELPER + /* path to the userspace helper executed on an event */ + extern char uevent_helper[]; +@@ -241,4 +243,7 @@ int kobject_synth_uevent(struct kobject + __printf(2, 3) + int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...); + ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation); ++ + #endif /* _KOBJECT_H_ */ +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -599,6 +599,43 @@ int add_uevent_var(struct kobj_uevent_en + EXPORT_SYMBOL_GPL(add_uevent_var); + + #if defined(CONFIG_NET) ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ struct uevent_sock *ue_sk; ++ int err = 0; ++ ++ /* send netlink message */ ++ mutex_lock(&uevent_sock_mutex); ++ list_for_each_entry(ue_sk, &uevent_sock_list, list) { ++ struct sock *uevent_sock = ue_sk->sk; ++ struct sk_buff *skb2; ++ ++ skb2 = skb_clone(skb, allocation); ++ if (!skb2) ++ break; ++ ++ err = netlink_broadcast(uevent_sock, skb2, pid, group, ++ allocation); ++ if (err) ++ break; ++ } ++ mutex_unlock(&uevent_sock_mutex); ++ ++ kfree_skb(skb); ++ return err; ++} ++#else ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ kfree_skb(skb); ++ return 0; ++} ++#endif ++EXPORT_SYMBOL_GPL(broadcast_uevent); ++ ++#if defined(CONFIG_NET) + static int uevent_net_init(struct net *net) + { + struct uevent_sock *ue_sk; diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.19/910-kobject_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.19/910-kobject_uevent.patch new file mode 100644 index 00000000..c4c41ca4 --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.19/910-kobject_uevent.patch @@ -0,0 +1,32 @@ +From 0d37e6edc09c99e683dd91ca0e83bbc0df8477b3 Mon Sep 17 00:00:00 2001 +From: Felix Fietkau +Date: Sun, 16 Jul 2017 16:56:10 +0200 +Subject: lib: add uevent_next_seqnum() + +Signed-off-by: Felix Fietkau +--- + include/linux/kobject.h | 5 +++++ + lib/kobject_uevent.c | 37 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 42 insertions(+) + +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -179,6 +179,18 @@ out: + return r; + } + ++u64 uevent_next_seqnum(void) ++{ ++ u64 seq; ++ ++ mutex_lock(&uevent_sock_mutex); ++ seq = ++uevent_seqnum; ++ mutex_unlock(&uevent_sock_mutex); ++ ++ return seq; ++} ++EXPORT_SYMBOL_GPL(uevent_next_seqnum); ++ + /** + * kobject_synth_uevent - send synthetic uevent with arguments + * diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.19/911-kobject_add_broadcast_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.19/911-kobject_add_broadcast_uevent.patch new file mode 100644 index 00000000..888f3fc1 --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-4.19/911-kobject_add_broadcast_uevent.patch @@ -0,0 +1,76 @@ +From 0d37e6edc09c99e683dd91ca0e83bbc0df8477b3 Mon Sep 17 00:00:00 2001 +From: Felix Fietkau +Date: Sun, 16 Jul 2017 16:56:10 +0200 +Subject: lib: add uevent_next_seqnum() + +Signed-off-by: Felix Fietkau +--- + include/linux/kobject.h | 5 +++++ + lib/kobject_uevent.c | 37 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 42 insertions(+) + +--- a/include/linux/kobject.h ++++ b/include/linux/kobject.h +@@ -32,6 +32,8 @@ + #define UEVENT_NUM_ENVP 32 /* number of env pointers */ + #define UEVENT_BUFFER_SIZE 2048 /* buffer for the variables */ + ++struct sk_buff; ++ + #ifdef CONFIG_UEVENT_HELPER + /* path to the userspace helper executed on an event */ + extern char uevent_helper[]; +@@ -244,4 +246,7 @@ int kobject_synth_uevent(struct kobject + __printf(2, 3) + int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...); + ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation); ++ + #endif /* _KOBJECT_H_ */ +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -685,6 +685,43 @@ int add_uevent_var(struct kobj_uevent_en + EXPORT_SYMBOL_GPL(add_uevent_var); + + #if defined(CONFIG_NET) ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ struct uevent_sock *ue_sk; ++ int err = 0; ++ ++ /* send netlink message */ ++ mutex_lock(&uevent_sock_mutex); ++ list_for_each_entry(ue_sk, &uevent_sock_list, list) { ++ struct sock *uevent_sock = ue_sk->sk; ++ struct sk_buff *skb2; ++ ++ skb2 = skb_clone(skb, allocation); ++ if (!skb2) ++ break; ++ ++ err = netlink_broadcast(uevent_sock, skb2, pid, group, ++ allocation); ++ if (err) ++ break; ++ } ++ mutex_unlock(&uevent_sock_mutex); ++ ++ kfree_skb(skb); ++ return err; ++} ++#else ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ kfree_skb(skb); ++ return 0; ++} ++#endif ++EXPORT_SYMBOL_GPL(broadcast_uevent); ++ ++#if defined(CONFIG_NET) + static int uevent_net_broadcast(struct sock *usk, struct sk_buff *skb, + struct netlink_ext_ack *extack) + { diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.10/910-kobject_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.10/910-kobject_uevent.patch new file mode 100644 index 00000000..c4c41ca4 --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.10/910-kobject_uevent.patch @@ -0,0 +1,32 @@ +From 0d37e6edc09c99e683dd91ca0e83bbc0df8477b3 Mon Sep 17 00:00:00 2001 +From: Felix Fietkau +Date: Sun, 16 Jul 2017 16:56:10 +0200 +Subject: lib: add uevent_next_seqnum() + +Signed-off-by: Felix Fietkau +--- + include/linux/kobject.h | 5 +++++ + lib/kobject_uevent.c | 37 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 42 insertions(+) + +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -179,6 +179,18 @@ out: + return r; + } + ++u64 uevent_next_seqnum(void) ++{ ++ u64 seq; ++ ++ mutex_lock(&uevent_sock_mutex); ++ seq = ++uevent_seqnum; ++ mutex_unlock(&uevent_sock_mutex); ++ ++ return seq; ++} ++EXPORT_SYMBOL_GPL(uevent_next_seqnum); ++ + /** + * kobject_synth_uevent - send synthetic uevent with arguments + * diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.10/911-kobject_add_broadcast_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.10/911-kobject_add_broadcast_uevent.patch new file mode 100644 index 00000000..1f3002da --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.10/911-kobject_add_broadcast_uevent.patch @@ -0,0 +1,76 @@ +From 0d37e6edc09c99e683dd91ca0e83bbc0df8477b3 Mon Sep 17 00:00:00 2001 +From: Felix Fietkau +Date: Sun, 16 Jul 2017 16:56:10 +0200 +Subject: lib: add uevent_next_seqnum() + +Signed-off-by: Felix Fietkau +--- + include/linux/kobject.h | 5 +++++ + lib/kobject_uevent.c | 37 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 42 insertions(+) + +--- a/include/linux/kobject.h ++++ b/include/linux/kobject.h +@@ -32,6 +32,8 @@ + #define UEVENT_NUM_ENVP 64 /* number of env pointers */ + #define UEVENT_BUFFER_SIZE 2048 /* buffer for the variables */ + ++struct sk_buff; ++ + #ifdef CONFIG_UEVENT_HELPER + /* path to the userspace helper executed on an event */ + extern char uevent_helper[]; +@@ -244,4 +246,7 @@ int kobject_synth_uevent(struct kobject + __printf(2, 3) + int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...); + ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation); ++ + #endif /* _KOBJECT_H_ */ +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -690,6 +690,43 @@ int add_uevent_var(struct kobj_uevent_en + EXPORT_SYMBOL_GPL(add_uevent_var); + + #if defined(CONFIG_NET) ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ struct uevent_sock *ue_sk; ++ int err = 0; ++ ++ /* send netlink message */ ++ mutex_lock(&uevent_sock_mutex); ++ list_for_each_entry(ue_sk, &uevent_sock_list, list) { ++ struct sock *uevent_sock = ue_sk->sk; ++ struct sk_buff *skb2; ++ ++ skb2 = skb_clone(skb, allocation); ++ if (!skb2) ++ break; ++ ++ err = netlink_broadcast(uevent_sock, skb2, pid, group, ++ allocation); ++ if (err) ++ break; ++ } ++ mutex_unlock(&uevent_sock_mutex); ++ ++ kfree_skb(skb); ++ return err; ++} ++#else ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ kfree_skb(skb); ++ return 0; ++} ++#endif ++EXPORT_SYMBOL_GPL(broadcast_uevent); ++ ++#if defined(CONFIG_NET) + static int uevent_net_broadcast(struct sock *usk, struct sk_buff *skb, + struct netlink_ext_ack *extack) + { diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.4/910-kobject_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.4/910-kobject_uevent.patch new file mode 100644 index 00000000..c4c41ca4 --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.4/910-kobject_uevent.patch @@ -0,0 +1,32 @@ +From 0d37e6edc09c99e683dd91ca0e83bbc0df8477b3 Mon Sep 17 00:00:00 2001 +From: Felix Fietkau +Date: Sun, 16 Jul 2017 16:56:10 +0200 +Subject: lib: add uevent_next_seqnum() + +Signed-off-by: Felix Fietkau +--- + include/linux/kobject.h | 5 +++++ + lib/kobject_uevent.c | 37 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 42 insertions(+) + +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -179,6 +179,18 @@ out: + return r; + } + ++u64 uevent_next_seqnum(void) ++{ ++ u64 seq; ++ ++ mutex_lock(&uevent_sock_mutex); ++ seq = ++uevent_seqnum; ++ mutex_unlock(&uevent_sock_mutex); ++ ++ return seq; ++} ++EXPORT_SYMBOL_GPL(uevent_next_seqnum); ++ + /** + * kobject_synth_uevent - send synthetic uevent with arguments + * diff --git a/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.4/911-kobject_add_broadcast_uevent.patch b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.4/911-kobject_add_broadcast_uevent.patch new file mode 100644 index 00000000..52453e5c --- /dev/null +++ b/meta-tanowrt/recipes-kernel/linux/linux-tano-patches/generic-5.4/911-kobject_add_broadcast_uevent.patch @@ -0,0 +1,76 @@ +From 0d37e6edc09c99e683dd91ca0e83bbc0df8477b3 Mon Sep 17 00:00:00 2001 +From: Felix Fietkau +Date: Sun, 16 Jul 2017 16:56:10 +0200 +Subject: lib: add uevent_next_seqnum() + +Signed-off-by: Felix Fietkau +--- + include/linux/kobject.h | 5 +++++ + lib/kobject_uevent.c | 37 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 42 insertions(+) + +--- a/include/linux/kobject.h ++++ b/include/linux/kobject.h +@@ -32,6 +32,8 @@ + #define UEVENT_NUM_ENVP 32 /* number of env pointers */ + #define UEVENT_BUFFER_SIZE 2048 /* buffer for the variables */ + ++struct sk_buff; ++ + #ifdef CONFIG_UEVENT_HELPER + /* path to the userspace helper executed on an event */ + extern char uevent_helper[]; +@@ -245,4 +247,7 @@ int kobject_synth_uevent(struct kobject + __printf(2, 3) + int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...); + ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation); ++ + #endif /* _KOBJECT_H_ */ +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c +@@ -690,6 +690,43 @@ int add_uevent_var(struct kobj_uevent_en + EXPORT_SYMBOL_GPL(add_uevent_var); + + #if defined(CONFIG_NET) ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ struct uevent_sock *ue_sk; ++ int err = 0; ++ ++ /* send netlink message */ ++ mutex_lock(&uevent_sock_mutex); ++ list_for_each_entry(ue_sk, &uevent_sock_list, list) { ++ struct sock *uevent_sock = ue_sk->sk; ++ struct sk_buff *skb2; ++ ++ skb2 = skb_clone(skb, allocation); ++ if (!skb2) ++ break; ++ ++ err = netlink_broadcast(uevent_sock, skb2, pid, group, ++ allocation); ++ if (err) ++ break; ++ } ++ mutex_unlock(&uevent_sock_mutex); ++ ++ kfree_skb(skb); ++ return err; ++} ++#else ++int broadcast_uevent(struct sk_buff *skb, __u32 pid, __u32 group, ++ gfp_t allocation) ++{ ++ kfree_skb(skb); ++ return 0; ++} ++#endif ++EXPORT_SYMBOL_GPL(broadcast_uevent); ++ ++#if defined(CONFIG_NET) + static int uevent_net_broadcast(struct sock *usk, struct sk_buff *skb, + struct netlink_ext_ack *extack) + { diff --git a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-3.18.inc b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-3.18.inc index a502564c..16265019 100644 --- a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-3.18.inc +++ b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-3.18.inc @@ -3,7 +3,7 @@ # Copyright (c) 2019-2021 Tano Systems LLC. All rights reserved. # -PR_append = ".6" +PR_append = ".7" KERNEL_FEATURES_append = "\ features/kernel-3.18/nf_tables/nf_tables.scc \ @@ -23,4 +23,6 @@ SRC_URI_append = "\ file://662-use_fq_codel_by_default.patch \ file://663-remove_pfifo_fast.patch \ file://681-NET-add-of_get_mac_address_mtd.patch \ + file://910-kobject_uevent.patch \ + file://911-kobject_add_broadcast_uevent.patch \ " diff --git a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-4.14.inc b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-4.14.inc index 5d76efeb..210dfd44 100644 --- a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-4.14.inc +++ b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-4.14.inc @@ -3,7 +3,7 @@ # Copyright (c) 2019-2020 Tano Systems LLC. All rights reserved. # -PR_append = ".13" +PR_append = ".14" KERNEL_FEATURES_append = "\ ${@bb.utils.contains("COMBINED_FEATURES", "usbhost", " features/kernel-4.14+/usb-leds/ledtrig_usbport.scc", "" ,d)} \ @@ -21,4 +21,6 @@ SRC_URI_append = "\ file://630-packet_socket_type.patch \ file://655-increase_skb_pad.patch \ file://681-NET-add-of_get_mac_address_mtd.patch \ + file://910-kobject_uevent.patch \ + file://911-kobject_add_broadcast_uevent.patch \ " diff --git a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-4.19.inc b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-4.19.inc index 8b34a0b0..6f18a8c8 100644 --- a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-4.19.inc +++ b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-4.19.inc @@ -3,7 +3,7 @@ # Copyright (c) 2019-2020 Tano Systems LLC. All rights reserved. # -PR_append = ".18" +PR_append = ".19" KERNEL_FEATURES_append = "\ ${@bb.utils.contains("COMBINED_FEATURES", "usbhost", " features/kernel-4.14+/usb-leds/ledtrig_usbport.scc", "" ,d)} \ @@ -28,4 +28,6 @@ SRC_URI_append = "\ file://661-use_fq_codel_by_default.patch \ file://662-remove_pfifo_fast.patch \ file://681-NET-add-of_get_mac_address_mtd.patch \ + file://910-kobject_uevent.patch \ + file://911-kobject_add_broadcast_uevent.patch \ " diff --git a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-5.10.inc b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-5.10.inc index 9482a7ec..aecca1d1 100644 --- a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-5.10.inc +++ b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-5.10.inc @@ -3,7 +3,7 @@ # Copyright (c) 2020-2021 Tano Systems LLC. All rights reserved. # -PR_append = ".4" +PR_append = ".5" KERNEL_FEATURES_append = "\ ${@bb.utils.contains("COMBINED_FEATURES", "usbhost", " features/kernel-4.14+/usb-leds/ledtrig_usbport.scc", "" ,d)} \ @@ -38,6 +38,8 @@ SRC_URI_append = "\ file://661-use_fq_codel_by_default.patch \ file://662-remove_pfifo_fast.patch \ file://681-NET-add-of_get_mac_address_mtd.patch \ + file://910-kobject_uevent.patch \ + file://911-kobject_add_broadcast_uevent.patch \ " # Tano patches diff --git a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-5.4.inc b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-5.4.inc index 1c32c6c5..afa8077c 100644 --- a/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-5.4.inc +++ b/meta-tanowrt/recipes-kernel/linux/tano-kernel-cache-5.4.inc @@ -3,7 +3,7 @@ # Copyright (c) 2019-2021 Tano Systems LLC. All rights reserved. # -PR_append = ".8" +PR_append = ".9" KERNEL_FEATURES_append = "\ ${@bb.utils.contains("COMBINED_FEATURES", "usbhost", " features/kernel-4.14+/usb-leds/ledtrig_usbport.scc", "" ,d)} \ @@ -30,6 +30,8 @@ SRC_URI_append = "\ file://661-use_fq_codel_by_default.patch \ file://662-remove_pfifo_fast.patch \ file://681-NET-add-of_get_mac_address_mtd.patch \ + file://910-kobject_uevent.patch \ + file://911-kobject_add_broadcast_uevent.patch \ " # Tano patches